Added a short aggregations example
Fixed Java 8 example
Merge pull request #1 from noctarius/master

Added a short aggregations example