Switch cmake to out of source builds
remove .gitignore from repository