Update dependencies

Allows GHC 7.8 to be used, plus some newer versions of test dependencies.