Fixes to build gem on ruby 2.0, parse hash values, array operations, and decrement

waiting for official jeweler, but this at least makes "rake build" work on ruby 2.0 for now

fixes #52 and #71