Added .gitignore file
Replaced autotools with cmake

Use cmake to build libs. cmake is cross-platform and has been tested for this
project on Linux and Windows