Adding project settings

Also updating gitignore for the parts of .idea we don't want.