Update code to Java 8
Ignore files produced by gradle's idea plugin
Tell gradle plugins where application main resides
Add run and class hot-swapping instructions