Added CMake options and shared libraries

Both static and shared libraries are now built.
You can chose if you wish to build the SDL dependent stuff.
You can chose if you wish to build the demos at all.
You can chose to use the LLVM libc++ instead of GNU