Use mw.hook( 'wikipage.content' ) for citation popup JS

Factored out of https://gerrit.wikimedia.org/r/79472

Change-Id: I4d755ab57de3754b361174b33e53462f16e490da
Merge "Use mw.hook( 'wikipage.content' ) for citation popup JS"