Upgrade to Yesod 1.4

- Required moving executable installations outside the sandbox to prevent
  dependency conflicts
- Everything else was fairly minor, see the individual commits for details