Update cmake builds

- Cleaned up config.h.cmake
- Build both shared and static mk4 libs
- Added CTest and enabled building tests when ctest enables it
- Add option to build with "system STL" (whatever that is) and disable it by default
- Added deployment target locations (demos under demos/ folder) - needs a bit more work for proper platform packaging.