Move permalink utils functions im UrlUtilsService
Move URL_REGEXP stuff in UrlUtilsService
Remove use of function copied from OL3