add ability to specify extra routes in middleware

Sometimes a user might need to modify the routes provided by a
given resource. This allows the user to bundle that specificity
in the middleware along with other possible milestone behavior