In-line Analytics

PR for internal review purposes as prelude for PR to upstream
    PR'd against copy of upstream master.

Known issues to be fixed later:
- Styling is embedded in html file as prelude to re-styling
- No tests
- pep8 and pylint not looked at yet.

@jbau @jrbl @stvstnfrd @caesar2164 if you please.
Since you're using this base selector a lot, I'd suggest splitting it out into its own variable and subquerying from there. Something like the following is easier to read and also more performant.

```javascript
var element = document.getElementById(element_id);
element = $(element);
element.find('.num-students').text(total_count);
element.find('.last-update').text(last_update_date);
element.show();
```