morebits: fix subtle gallery/infobox handling bug in commentOutImage

Per problem report at WT:TW.
morebits.css: use forward-compatible class name
Prevent non-confirmed users from using Twinkle; make the if test more readable; remove individual twinkleUserAuthorized tests
Add a prompt when user clicks on the "Twinkle" bar and they are not confirmed
Overhaul and fix Morebits.wiki.page.patrol

Made Morebits.wiki.page.patrol work after
https://gerrit.wikimedia.org/r/41196 has been deployed.
Also made it use the API.

Furthermore I've added a dependency against user.tokens but
that shouldn't be controversial as this module is already
loaded on all pages with a patrol link.

This works with both MediaWiki versions with and without
https://gerrit.wikimedia.org/r/41196
Adding Edit Warring reporting functionality

Adding a possibly too convenient way to report to WP:AN3
warn: add {{uw-login}}

Per WT:TW
unlink: clarify window title on file pages
Upload each module separate to the wiki

Due to bug https://bugzilla.wikimedia.org/show_bug.cgi?id=29784
It's recommended to split twinkle up in multiple files

Remember to add
twinkleprod.js|twinkleimage.js|twinklebatchundelete.js|twinklewarn.js|twinklespeedy.js|friendlyshared.js
|twinklediff.js|twinkleunlink.js|twinkledelimages.js|friendlytag.js|twinkledeprod.js|friendlywelcome.js
|twinklexfd.js|twinklebatchdelete.js|twinklebatchprotect.js|twinkleconfig.js|twinklefluff.js
|twinkleprotect.js|twinklearv.js|friendlytalkback.js
to gadget-definition when deploying
remove old header and footer file
Fix some issues for deploying multiple files

* Enclose all modules in nowiki
* Change twAddPortlet to Twinkle.addPortlet
* change twinkleUserAuthorized to Twinkle.userAuthorized
* fix minor thing in sync.pl to enable deploying to test wiki