Added MarketReport page.
In the process of de-duplicating a bunch of code and abstracting it into
a factory.
More code removal, made the URL stuff more robust, fixed some small
bugs.
More code removal, cleaned up and fixed some bookmarking bugs, added the
total weight thing to the market page.
Oops, wrong active page for this one.
Tweaked total market stuff slightly as per the comments on #167.
Added some space to the market weight report string.
Commented out irrelevant chart on this page.