sync with master

Change-Id: Id99b208aa6817d64c162fa51f810e76e3c057900
Refactor AFT backend

* New AFT DB schema - once all experimental stuff is gone, AFT data is really simple
* Build solid feedback model for easier controller implementation
* Remove & refactor lots and lots of pointless and/or abandonned code
* Moved actions-related code into activity class

PS9: Spage's feedback
PS10: Lwelling's feedback
PS13: added unittests
PS15: Spage's feedback
PS18: Spage & Siebrand's feedback

Change-Id: Iebd886f35baf1f593975342c3c96df5233878e44
New actions, filters & UX

* Change virtually all existing filters
* Change actions "feature" to "useful" and "hide" to "inappropriate"
* Introduce action "non-actionable"
* Change the UX:
  * Now only 1 of the 4 editor tools (useful, resolved, non-actionable, inapropriate) can be performed at once
  * After having flagged on of those 4, "undo" button pops up as well as the details of the previous flag
  * Only after flagging as inappropriate do oversight-related tools pop up
  * Moderation actions are 1-click, with possibility for flyout window to leave comment afterwards

PS25: bsitu's feedback
PS29: kaldari's feedback
PS32: bsitu's feedback

See requirements at http://www.mediawiki.org/wiki/Article_feedback/Version_5/Feature_Requirements#Simpler_moderation_tools

Change-Id: Ibf97654b0d9344fd89e0c8b3377fa821fdc9043f
Fix 'issue' preventing AFT to be displayed in IE

Change-Id: I86a33251e86a1b2d41b87422528e93906e96eecd
re-introduce hide tool for monitors

... by taking it away from editors and replacing it with 'inappropriate'

Change-Id: I7ee9fc318a0c38058320d55ba5581fc538701aee
Discuss on talk page

PS6: Se4598's feedback

Change-Id: Ife2452d5343512c6093c6f68a498ef8d2ec22eb8

Conflicts:
	ArticleFeedbackv5.render.php
Add link to view all activity

The existing "Read note" button only showed up if there was a comment for the last activity, so it was sometimes (in the case there was no note for the last feedback) to see the activity log from anywhere but the permalink page

Change-Id: Ic7357e6446183a338eb369bde0e3df79702f1375

Conflicts:
	ArticleFeedbackv5.render.php
	modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.css
Auto-archive comments

See feature requirements at http://www.mediawiki.org/wiki/Article_feedback/Version_5/Feature_Requirements#Auto-archive_comments

Change-Id: I8b7da25d327248d8826f4e3d7de144f4f45c4a70

Conflicts:
	ArticleFeedbackv5.activity.php
	ArticleFeedbackv5.flagging.php
	ArticleFeedbackv5.hooks.php
	ArticleFeedbackv5.i18n.php
	ArticleFeedbackv5.model.php
	ArticleFeedbackv5.php
	ArticleFeedbackv5.render.php
	modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.css
	sql/ArticleFeedbackv5.sql
(bug 43419) Remove reader tools for editors in feedback page
(bug 39818) Prevent self-moderation of ArticleFeedback posts

Change-Id: I775c215e00b55af50949b8366e62f07295009e7c

Conflicts:
	ArticleFeedbackv5.i18n.php
	modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.css
Post without comment

Change-Id: I6ece35a9f675acdb38bee48d177ff6ad1cdc4eec
Bug 42057 - 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 also only display if there is feedback

PS5: jqueryMsg has plural support

Change-Id: I03c815d8257aaa590ef639387c360d8356cd0d96

Conflicts:
	ArticleFeedbackv5.php
	modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.utils.js
(bug 44154) Blank feedback is confusing

* Display message when no comment was submitted
* Use "more"-link to toggle to full text

Change-Id: I8219d942a79fbb54082a06a488fd384fd6cadde5

Conflicts:
	ArticleFeedbackv5.render.php
(bug 45057)  Display error message on permalink if feedback doesn't exist

Change-Id: Ib899f472867f01942e39a963e5388851b309a947

Conflicts:
	ArticleFeedbackv5.i18n.php
(bug 44955) Show new feedback in Recent Changes

Change-Id: Ie77912450e47b40d6f9947b2d14cebd688887362

Conflicts:
	ArticleFeedbackv5.flagging.php
	ArticleFeedbackv5.php