Moved caching from the analysis to the view.
Made minor changes to html. No content change.
Added analysis: distribution of contracts' price. Refactored analysis.

- Added a function to compute the distribution of prices of the
contracts.
- Added a function to store the above value in cache.
- Added views, templates and a graph to present the result.
Cached ranking page as its data is pre-computed.