mediawiki.Title: Add 'params' parameter to #getUrl

Same as the parameter to mw.util.getUrl(). Also prettify the docs there.

Change-Id: I94489e7d526d69126f3e90b7f41e2ec0430f7f66
Merge "mediawiki.Title: Add 'params' parameter to #getUrl"