CR changes: refactored appendLinkAndPhotoIfValid() and split it into two methods
extracted part which was adding http:// to a link and added unit tests for it