ErrorsController shouldn't inherit ApplicationController, but ActionController

This is a followup pull request to https://github.com/rails/rails/pull/15808. Inheriting `ApplicationController` often causes an issue as it always has before/after actions. It should encourage people to use `ActionController::Base` instead.