Merge pull request #9 from gnorsilva/master

Fixing compilation error in sbt
Changed firstOption to headOption
fixing tests...
Merge pull request #11 from gnorsilva/master

Ignoring Intellij IDEA files & adding sbt idea project generation plugin
Merge pull request #12 from Grogs/master

Changed firstOption to headOption