Dump diags when save failes.

DO NOT MERGE INTO MASTER!
Fix label conflicts in test cases
Force dump of API errors.
Avoid label conflicts in permission tests
Revert "Force dump of API errors."

This reverts commit ceffe6418236eb6b2dc55c1ab314448ced369d03.
Revert "Dump diags when save failes."

This reverts commit 81dc26a98516d2d7371453c0b8ef5af375577ed5.
Make travis run with --log-tap and no API tests
Error details when saving fails in EditEntityTest.
Remove unused use statements

Change-Id: I7f4ff875155e40acf0a6d673e328c58325b3bea3
Avoid hard coded entity ids in several test cases
Merge pull request #3 from wmde/fixtravis

Improve tests so they pass on TravisCI
Merge branch 'master' of ssh://review/mediawiki/extensions/Wikibase
Remove some clutter from EntityDataRequestHandlerTest

Change-Id: I7fd6fe3f099550d8c5df5fbf92cefdd7ea2f51bd