Render static error pages in production

In development, render error pages dynamically
Set session secret via config/session_secret

Fix #27
Merge branch 'develop'