When copying a hash, pass the api through to the new object
add test to verify api is being copied in hash
use is for identical object comparison
Merge pull request #153 from reaperhulk/hash-ctx-copy-api

When copying a hash, pass the api through to the new object