Make Java version configurable, fix warnings on tests.
Merge pull request #3 from bazaarvoice/ssmith-update

Make Java version configurable, fix warnings on tests.