Saves and restores current directory for detailed tests
Merge pull request #1370 from NovaDenizen/fixtest

Saves and restores current directory for detailed tests
Improve the 'get' command's --help docs a bit
Don't report that 'unpack' is deprecated

But it's not listed in the --help output anymore. But there's no
particular reason we need to force all users familiar with unpack to
switch to get, when they're just dealing with the case of tarballs.
Added --tests and --benchmarks Haddock support.
Added an --all option for Haddock and hscolour.
Merge pull request #1374 from Jookia/haddock-finished

Added support for test and benchmark documentation with Haddock.
Make sure we test valid C99 programs.

In particular, Clang is very fussy about not having this. It doesn't
really hurt anything, but it's better to suppress the annoying warning
properly.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Merge pull request #1376 from thoughtpolice/clang-tweak

Make sure we test valid C99 programs.
Slim down exception compatibility modules

handleIO and throwIOIO in the cabal-install compat module were
completely unused, so they're just binned.

IOException, SomeException and onException are now just used from
Control.Exception, since these days it's available on all supported
build configurations.

There are some more functions which can be removed, but these are the
easiest and least invasive.
Remove more exception compatibility code

This one removes Cabal's throwIOIO in favour of
Control.Exception.throwIO.

Note that throwIO is more polymorphic than throwIOIO, but in all current
use cases the same type is inferred anyway.
Merge pull request #1377 from benmachine/updated-nocompat

Removing some redundant exception compatibility code
Bump the dependency on 'unix'.

Fixes #1384.
Use System.Process instead of System.Cmd.

System.Cmd is deprecated in process-1.2.
Formatting.