Begin to componentize the Stats pane.

This just moves the rendering code into a separate file, the event handling
is still in the main app.js file.
UX: Add a confirmation popup to resetting a session.