Add extensible urls plugin module.
Configure a new urls plugin for api urls on init.
Now resource and model services uses a new urls module.
Minor code style changes on resource service module.