increase the default search result batch size from 10 to 100
Check that haddock docs build completed before uploading (fixes #119).
Reenable test suite
Merge pull request #127 from simonmichael/patch-1

increase the default search result batch size from 10 to 100 (fixes #83)
Merge pull request #129 from komadori/issue119

Check that haddock docs build completed before uploading (fixes #119).
Change the location of the recent packages page

From /recent to /packages/recent and set redirects.
Also set legacy redirects for the URLs the old server used
ie /package/archive/recent.{html,rss}
Add a feature for serving the hoogle data files for all packages

Used by the hoogle client. This was actually a little-known feature of
the old server.
Add all modules to other-modules so the sdist tarball is complete
Sync the haddock lexer/parser etc with old hackage

The old hackage-scripts (where we stole the haddock parser from
originally) had been updated fairly recently. Sync up with that.
This should eliminate the discrepancies in the haddock markup
formatting between the old and new hackage.
Fix the haddock lexer do alex 3 Unicode properly

Code taken from the alex "basic" wrapper. Alex 3 works directly on UTF8
byte sequences, not Chars.
Fix haddock URL markup in our .cabal file
Add the missing HaddockTypes.hs module
Fix generation of hoogle tar bundle
Move the changelog link on the package page to just after the description
Set the http user agent in each client properly
Fix templating to return correct mime types and do safe html/xml escaping

This should also fix #126. The problem was that the template system
was set up for html only and so would produce the wrong mime type when
used for text templates. We now pick the mime type and the escaping
mechanism based on the template file extension, .html.st vs .txt.st

So also have to rename some templates that were not following the naming
convention.

Also use more template type instances to simplify the code where do the
template substitution.