Split the code to generate a proper URL/link from setTitleLink()

The reason I'm splitting this is that, not only do I want to create
a link to the 'title', but also for another param (in my case: link
to the AFTv5 permalink page)

Change-Id: I834b50ca144e7d08db830726480da19e1b406a27
Merge "Split the code to generate a proper URL/link from setTitleLink()"