Added CMake script to ease use as library in other CMake projects.
Fixed incorrect path error in header include.
Added CMake build/cache files to gitignore.
Added CMake linking info.