Fixing spec for jruby
Fix usec rounding errors on JRuby and MRI.

[ fix #2741 ]
Don't persist non new child docs with nil inverse.

[ fix #2733 ]
Give access to validations on the instance level.

[ fix #2774 ]
adding counter cache #2214

Example:

  class Person
    include Mongoid::Document
    has_many :pets
  end

  class Pet
    include Mongoid::Document
    belongs_to :person, counter_cache: true
  end
Slight refactor and changelog update
Allow eager loading from embedded documents.

[ fix #2662 ]
Cleanup excessive db queries in 1-1 relations.

[ fix #2701 ]
Fix the cascading callbacks list.

This list now includes child documents that are flagged for destroy.

[ fix #2705 ]
Automatically touch relations on create/destroy.

When a belongs_to has a touch: true, and the child is destroyed or a new
child is created, the parent will automatically touch the parent.

[ close #2373 ]
Handle localized attributes properly in clone.

[ fix #2772 ]
added support for the new index types `2dsphere`, `text` and `hashed`
added specs for `2dsphere`, `text`, `hashed` index types
Update changelog
Adding more tests for #2772
Fixes touch frozen docs [ #2779 ]

When trying to touch a document that is frozen(delete , for instance), write_attribute cannot happen.
Update changelog
Revert "Fixes touch frozen docs [ #2779 ]"

This reverts commit b45a4aa17327b8870928f2e211fcd8e505605cd1.
Update changelog
Fix broken DateTime conversions.

[ fix #2781 ]
[ fix #2777 ]
Fix broken spec