Linking allows anchors and relative paths

Linking made more flexible: now it allows anchors and relative paths without converting it to absolute ones - useful for further migration.