Add missing slash in URLGenerator::getAbsoluteURL(). Refs. #6840
Test if $url is already prefixed by '/'