Added inclusion of ActiveModel::Model in OData::Model if Rails is defined.