Resource.middleware(app) adds to app.resources
Bump version to 0.5.0