Eager-load models in the :index rake task.

In Rails 4, models are no longer automatically eager-loaded within Rake tasks. This addresses one of the issues mentioned in #67 (`uninitialized class variable @@classes`).