Refactored FileUploadController to use Play JSON support.

Also took advantage of Scala to handle bad requests.