Fixed FIXME regd. Proxy in HTTPUtils.hs; Using proxy handling functions from HTTP
Partial Fix #543 by handling empty HTTP proxy uris
Fixed configure script location detection of autoconf.

The autoconf generated configure script tries to automatically determine the
location of the configure script. If the name (argv[0]) of the configure script
does not include a path separator autoconf will *first* scan the path for a
file named "configure" before defaulting to the current directory.

Cabal previously called configure by doing "sh configure" this will result in
it finding any files named "configure" in the path and using the location of
that file as the basedir to look for (amongst other things) C sources. The
result is that any C sources in the unpacked cabal directories are not found,
resulting in configure/build failures for all such packages (e.g. unix-time)
and all packages depending on those.

Changing cabal to call "sh ./configure" will avoid this behaviour, the presence
of a path separator causes autoconf to default to checking the current
directory *first*.
Update ZLIB_VER in bootstrap.sh for ghc-7.6 compatibility
Merge branch 'cabal-1.16'
Make compatible with `network-2.4` API

The specific API change in `relativeTo` this changeset
compensates for has been introduced in

 haskell/network@4a3fdefe2228e0998bbf80969e5dddf943ebe99a
Merge pull request #1044 from hvr/network24

Make compatible with `network-2.4` API
Merge branch 'cabal-1.16'
Use standard function launch process in test code
Fall back to looking on the path for ghc-related tools

This fixes things for situations such as where hsc2hs is in /usr/bin
but ghc is in /usr/local/bin, where previously we'd get:
  cabal: The program hsc2hs is required but it could not be found
Make test failure reason more clear in output
More test output tweaks
Fix test output of even more tests
Give more info when unregister fails in a test
Add a policy for which versions of GHC Cabal supports being built by
Supported GHC policy means that we always have base >= 4
Remove some CPPery for old, no-longer-supported versions of GHC
Merge branch 'master' of github.com:haskell/cabal
Use the time package rather than old-time
On install, update the .cabal file with the one from the index

This allows us to make minor changes to packages after they have been
released, without changing the package .tar.gz file. We already keep
the .cabal file outsite the package in the index and use it for
dependency planning. This already lets us do fixes such as making
dependency constraints tighter. Currently we cannot make dep
constraints more relaxed however, since the original .cabal file is
the one used when we get to the actual configure step.

So with this change, we now use the updated .cabal file for the
configure and build too. So there's more fixes we can do post-release.
In particlar, in combination with easier editing on hackage, this
should help us address the problems around the PVP and open or closed
version constraints. It should allow a system of conservative upper
bounds, but allow editing them when new versions of deps are released
and we find that they happen to work fine.