Move asLink() to NX.util.Url

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>