slapos.slap: Adapt HateoasNavigator to work with URNs.

Also cleanup and have a beginning of good basis to build a real navigator.