Added some newlines for readability.
Implemented 'on' option for validations.
Added tests for on create/update/save
Merge pull request #1 from koenpunt/add-on-validations-tests

Added tests for on create/update/save (thanks to koenpunt)
Merge remote-tracking branch 'taddeus-origin/master'