Add click tracking to compact personal bar

Create a general mw.beta.trackClick function that could be merged in
core for other experiments. Track links both with compact personal bar
enabled and disabled.

Change-Id: I589f3100f7d273748215c4f3019e1c84db410d83