Improve readability
Pass resource name to callbacks via req.resource

This makes it a lot easier to deal with access control and such. Closes #4.