Fix counter cache to use relation name when possible.

[ fix #2970 ]

Conflicts:
	spec/mongoid/relations/counter_cache_spec.rb
	spec/mongoid/relations/metadata_spec.rb