DisplayCase errors out looking for ActiveRecord::Relation if AR isn't defined

This fixes DisplayCase looking for ActiveRecord::Relation when AR isn't in a project - such as when using Mongoid. I'm sure there are better ways of doing this, but it works!