Add references for eager loading. Change shift to first in , should fix #193.  Add additional tests
Eager loading handled differently for Rails >= 4, undefined method 'where' in Rails 2