fix(Portfolio): Correct porfolio's PARAMs (refs #4950)

Use new syntax for docid PARAMs.

Also:
- Correct link on docids
- Properly escape titles in viewfolder()
Merge pull request #1275 from eguaj/3.3-A4950

fix(Portfolio): Correct porfolio's PARAMs (closes #4950)