Fix travis build.
Add idea folders to .gitignore