Template fixes, mostly.

Moved functional tests into its own module.
Added raven config.
Added 404, 403 and 500 handler templates.
Use memcached for user sessions.