ignore IntelliJ editor files + refactor spec
Merge pull request #228 from guard/intellij_ignores

ignore IntelliJ editor files + refactor spec