getRootUrl support
added tests and fixed some other getRootUrl validation issues
added new test class
added legal stuff
added getRootUrl to test project
Merge pull request #602 from rockytriton/599_getRootUrl_Support

getRootUrl support