Merge pull request #10 from akkie/master

Add Java API, reformat with Scalariform and upgrade to Play 2.2.2
Fixes #13