add support for dynamic validation schemas for resources

this is a substitute pull request for https://github.com/mozilla-services/cornice/pull/130 as we no longer have write access to the https://github.com/hotheaven organization…