default.nix: latest GHC is 7.8.3
cabal: sort and liberalise dependencies

Organise dependencies into platform and additional
dependencies.
Also set upper bounds to major versions only.