Raise error if iteration ends without walking size elements.

Fixes #1182.
Merge branch 'jruby-1_7'

Conflicts:
	core/src/main/java/org/jruby/RubyHash.java