getRootUrl support

Not sure if I'm doing this pull request right, first time.  Anyway, added support for getRootUrl() to the Rest annotation.