provide a little more involved example
make tests pass with Java 7 as well
Merge pull request #813 from metamx/better-example-and-test

provide a little more involved example
Merge branch 'master' of github.com:metamx/druid into fix-search