Added field referencing to before and after validators
Added tests for the before validator
Merge pull request #1824 from shachibista/master

Added ability to reference fields in before and after validators