Merge pull request #108 from csmith/master

Tell gradle to use 1.8.
Use Stream API in place of foreach loops.

This is IDEA's automatic inspection, so stuff may be a bit wonky.