Hash refactoring

Because the SliceableHash class was only used in one place we don't have to
load up an entire extra source file with an extra class just to implement
a few lines of code.

* Removed SliceableHash
* Remove duplicate dependency from Gemfile.