Fix anchor parsing issue in FormattedText

When parsing an anchor element, allow relative uris.
Added unit tests for FormattedText and LinkLabel.