Allow specifying rule values as functions. For example: before: function() { return new Date() }
Add the model's context to custom type function. Note: Test only passes when anchor starts supporting contexts.
Use a more meaningful test case for testing rule functions.
Merge pull request #161 from ragulka/validation-functions

Allow providing rule value as a function and add support for anchor custom type context.