Added support for custom router implementations to \Slim\Slim

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