Update to Yesod 1.2
Use the new representations selector
Make it work with yesod-devel