Util: Add method getSelfHostUrl(), getSelfUrlWithoutParameter()

These two methods are splitted from original getSelfUrl()
Validator: Use self url without get parameter if relative url given
Validator: Enhance treatment of url start with '.' or '/'
Html: Minor fix of get invalid service Validator