Added support for custom route subclasses to \Slim\Router

Applied changes from [this pull request](https://github.com/codeguy/Slim/pull/465) to the develop branch as requested.