Moved to more Java 8 idioms like streams, Optional.of(T), etc.
Merge pull request #40 from joshlong/java8

Moved to more Java 8 idioms like streams, Optional.of(T), etc.