Merge to master

Change-Id: I0cb9a488d60857912e33fcdb99ee39a559d7b324
Feedback link on article pages

* Add API endpoint to fetch amount of entries for a given page/filter
* Code for above functionality was in use on special page already; moved
  that code to utils so both can access this and avoid code duplication
* add Javascript ajax call to fetch the amount of feedback and display a
  link on article page
* Update talk-page link to
  * If AFT is enabled: display link if there is *any* feedback
  * If AFT is disabled: only display link if there still is featured feedback

Bug: 42057
Change-Id: I03c815d8257aaa590ef639387c360d8356cd0d96
Quickly enable/disable AFTv5

Feature requirements: http://www.mediawiki.org/wiki/Article_feedback/Version_5/Feature_Requirements#Enable.2Fdisable_feedback_on_a_page

TL;DR:
* (if feedback disabled) "Request feedback" link in toolbox, on article page
* (if feedback disabled) Yellow box on special page with button to re-enable
* New "settings" in special page. When clicked, display link to enable/disable
* Links to enable/disable go to:
  * (admins) page?action=protect, where detailed permissions can be set
  * (editors) api call; will set permissions to aft-reader (enable) or aft-editor (disable)
* Refactored checks to verify if AFT should be displayed
  * Lottery now servers as the default value for page protection
    * No page protection set, lottery decides (lottery win = aft-reader, lottery lose = aft-noone)
    * Page protection set = overrides lottery (both enable or disable)
  * Unless disabled in page protection, whitelist categories will still enable AFTv5
  * Blacklist categories still override-disable all
* Grouped tipsies code into 1 method & made a change to hide "settings" link if there's no content

Change-Id: I7029a628ba724ba53f3aaebbf98e3d652c823464
UI improvements

* Percentage calculation now excludes inappropriate/hidden/oversighted
* Amount of feedback with and without comments is displayed
* Improved the feedback page header information: more compact; only displays
  amount of posts and percentage of positive votes
* Removed the "Showing:" prefix in front of the list of filters
* A couple of new SVG icons (like the negative/positive/neutral smiley faces)
* A couple of CSS improvements

Change-Id: I977c2a4acbdc2135ed548da1c0c2005b99aa4871

Conflicts:
	ArticleFeedbackv5.php
	modules/ext.articleFeedbackv5/ext.articleFeedbackv5.dashboard.css
When changing AFT visibility in action=protect, add to log

Change-Id: Icee466faa962ad4c4e49b68dbb054e543b93b0a7