Add validation callbacks to base module

This pull request adds validation callbacks to the `ParseResource::Base`
module so that callbacks like `before_validation` are available.