Store public uri in the aliases instead of the local

http://youtrack.developer.mindtouch.com/issue/MT-13581
Reviewed by Arne