Ruby 1.8.7 compatibility

While I agree that the new hash syntax is better, I'd really like to use
this gem with a legacy REE 1.8.7 app. Since the only 1.9.x feature used
is hash syntax, it'd be nice to use the old syntax for compatibility.
Fix spelling mistake
Merge pull request #1 from dplummer/master

Ruby 1.8.7 compatibility