Migrate Riff-Raff to use Play 2.2

This is primarily migration work, although there are a couple of other minor tweaks to tidy up some errors and coding style.