Amend CONTRIBUTING:

* Mention about ticket references in commit message
* Add extra rules for Ruby 1.9 hash syntax and lambda syntax

[ci skip]