AUI-1654 - Source formatting
AUI-1654 Custom rule changed to be a static FormValidator function

* Previous attempt added a customRules attribute
* However, that design was potentially confusing since the rules are not
  added to a singular instance, but all instances of the validator
* This version changes the API to be a static function on FormValidator
* Demo is also updated to show this change