This implements changes needed to make the cmake project work well when it is not the top level project and has been included with add_subdirectory.
- Avoids defining “tests” and “check” targets when project is not at the top level to avoid clashes. Add new “mptests” and “mpcheck” alternatives instead.
- Renames “example” target to “mpexamples”
- Renames “util” target to “mputil”
- Makes various internal changes needed to resolve other issues. See commit messages for details.