Gid rid of rspec deprecation warnings
Fix _destroy check on nested attributes.

When passed an array, only on a 1-n situation with nested attributes,
the attributes were not properly getting converted to a hash with
indifferent access.

[ fix #2911 ]
[ close #2912 ]
Fix deprecations in sessions spec