Adding SQUIZ.getDomainName() function and unit test for it.