Changed config load order and added config TODOs
Small changes to router and CSRF guard
Swapped static and dynamic route registration (again)

This should be the correct order: static before dynamic
Changed error handling in Township controller

This should become the canonical way to handle errors