Check that the classes exist before including extra behaviors

Rails 4 doesn't always load app/controllers (i.e. during a rake call) so
the classes aren't there everytime the initializer is called.