Tidy up Title/RevId handling in trackRequest()

- Pass title that we already know, rather than using $wgTitle
- Pass title and rev id as actual parameters and build the string
  in one place rather than leaving it up to callers

Change-Id: I7882c6c788ce15498fc9ef4ef2a184b6a2f9096d