cmake now builds static library, example executables and can install built library and
header files to specified directory.
changed CmakeLists to not always build in release mode.
Merge branch 'cmake_build'

Conflicts:
	.gitignore
	CMakeLists.txt
	lib/CMakeLists.txt