Add gitignore.
Update CMake build to enable static libs.
Add VS project files.