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
Improve TravisCI build config

Change-Id: I4842d9bfef75df872d0181d657841bd429ec4359
Fix issues with new TravisCI build config

Change-Id: I2304999d5bacb6a337b45cd6963fe477562d0beb
Remove now obsolete sh file

Change-Id: Ibce49254ea744561c135273988635302e6beb6a7
Exclude API tests

Change-Id: I8e90adcb3b9e48ee6c259786ce9e0e6483e518a0
Merge

Change-Id: Icbc44be082ec9b4fc82b86d3fcabb862a6d6646b