Remove .iml from repo and change .gitignore.