Ajax watch icons Brickimedia/brickimedia#272

An edited version of the functions found at
https://doc.wikimedia.org/mediawiki-core/master/js/source/mediawiki.page.watch.ajax.html#mw-page-watch-ajax-method-mwUriGetAction
to support the icons.