Use Ruby 1.9 hash syntax, fix a few request bugs & added specs