Custom validations framework and custom binding for KnockoutJS