Update error messages

Align the elements of a hash literal if they span more than one line.<br>Use the new Ruby 1.9 hash syntax.