new utility for domain cleanup

will take a url and strip the domain out of it. used in admin_wholesale.