Update app.rb

adding content types to xml and json endpoints
Merge pull request #5 from danielknell/master

Correct content types for xml / json endpoints.