[4.2] Router : enable to set a custom base option in resource

Proposed solution for https://github.com/laravel/framework/issues/5556
(Feel free to give feedback)