Updated SiteMapController adn Test to get host name and port number from servlet context.