Added support to add API resources with a wrapper handler function.
Merge pull request #21 from strukturag/wrapper_support

Added support to add API resources with a wrapper handler function.