make selfLink namespace aware

Makes the selfLink resolvable for content not in the default namespace.
Please exercise this in a test :)