Update hash syntax to Ruby 1.9 standard

Close #161

These changes were done automatically by the fancy https://github.com/bbatsov/rubocop