BigDecimal#hash should ignore scale. Fixes #772

Tests added to rubyspec:
https://github.com/rubyspec/rubyspec/pull/228