Add views and templates.
Error handling

* Turn on console logging for all errors.
* Add needed 404 page for live mode.
* Fix allowed hosts.
Split out the polls url config.