added optional schemaCallback to resource
Merge pull request #5 from flyvictor/schema-callback

Added schema creation callback