Adjusting .gitignore

The default .gitignore file made by GitHub doesn't fit our need. Copied the one from cms instead.