Add custom error pages

Based on the technique at https://makandracards.com/makandra/12807-custom-error-pages-in-rails-3-2