s/extra-html-files/extra-doc-files/.
bootstrap.sh: Install 'time' and 'deepseq' *before* 'Cabal'.

Cabal (the library) itself depends on these packages, so they should be
installed first. See #1486.
Bump the 'cabal-install' version number to 1.18.0.3.
Documentation fix.
Small warning.
Default 'library-for-ghci' to True on Windows.

Temporary workaround. Fixes #1589.
Bump Cabal version number to 1.18.1.3.
Add CPP pragma to D.Simple.Setup
Fix the haddock --html-location= for relative URLs

The previous fix in isue #1407 turned out to be in the wrong place and
so applied to both the haddock-html from the ghc-pkg output, and also to
the location passed via the --html-location flag. For the
--html-location flag it is important that we can use relative URLs like
/package/$pkg-$version/docs because that is what we need for hackage.
Note that that is a relative URL, it's relative to the server root.
However that was being interpreted as a local file path and being given
the file:// prefix. So now we move the file:// URL stuff to the right
place so it only applies to the location given in the haddock-html field
of the package registration.
Similar absolute url fix for cabal-install

In this case with index generation it's more benign, but still better
to handle things consistently.
Add some more OS aliases.

Fixes #1641. Based on a patch by Karel Gardas.

The 'Compat' classification strictness type is confusing and should IMO be
merged with 'Permissive'.

(cherry picked from commit 98a3feb23364897779dd665758949555a84dc5b8)