as_hash method

Returns the original hash, useful for sub hashes
new equality test, reverted change of version
as_hash test
Merge pull request #1 from mbiffara/as_hash-method

as_hash method