(Bug 48663) Added resolved template target where available

* Added resolved template target for cases where the template target
  is "statically known" and is not the output of template transclusions
  or extensions or parser functions.
* This resolved target name is available via data-mw.target.url property
* Tested with {{echo|foo}} and {{ {{echo|echo}} |foo}}

Change-Id: I3145a4168a2347cecc573dcc07bb4128962a5b11