Added statistics page.

- New "stats" table for collection of stats.
- New "stats" shell meant to be run every 10 minutes.
- Import d3.js library (BSD license).
- Import rickshaw.js library (MIT license).
Added license info for D3.js and Rickshaw.
Print latest stats first, and use local time for graphs.
Some minor setting re-adjustments.
Schema consolidation, and various code inspection fixes.