Clean up gitignore and add rules for Idea.
Merge pull request #49 from RX14/patch-1

Clean up gitignore and add rules for Idea.