implement onWikibaseDeleteData hook on client

- onWikibaseDeleteData hook on the client
- add clear() to EntityCache and EntityCacheTable
- add clear() to ClientSqlStore
- move some functionality out of the deleteAllData script and
 put it into client and repo hooks

Change-Id: I24d48a20f289dafe75b116d70de59dadba7481e2
moved submodules of pageobjects to seperate folder for better structure

Change-Id: Ia6ed0ce99df45d6d52fe1f2dda070401f5d0ca43
use entity instead of item for onArticleDeleteComplete

Change-Id: I017562d5b6bcb426af4f0874f49401b2d9cb24c7
(bug 39522) solved bug 39522 for EditableValue.tests

Still other files which have to be cleaned up, so bug 39522 can't be closed just now.
Tests are still failing as before, this will be taken care of in follow up.

Change-Id: I7d725f1bc2f7fe44ddc0baabce1ff300f506ca36
Refactored some of the EditableValue tests.

Tests do not execute assertions in startup and tear down anymore now. Added a generic function to fabricate new EditableValue instances. Upon this change we could refactor tests for other EditableValue types to use this common base and always execute these basic tests instead of only testing functionality which is specific to the inherited EditableValue type (which is what we are doing right now).
There are still 17 failing tests, these will be fixed as a follow up.

Change-Id: Ia2791687772bdb64f6f9b8586b13855859104361
Use $.fn.val( ... ) instead of $.attr.( 'value', ... ) to set input box values

Change-Id: Ie09a611c71f19528ebd2dae873ec794ae0c70fca
Localisation updates from http://translatewiki.net.

Change-Id: I61cbd5740fd19a6f4fe0f35a7556507b54fc5e15
Added Claim interface to the entities

Change-Id: I68841e7a08eaf0d63443d401b1ba3a1e0542e826
Added ClaimAggregate and ClaimListAccess tests + some fixes to claim interface

Change-Id: Ia74ea4bca9e39b2db96ac8b01c236be5df380393
Some work on ApiCreateClaim

Change-Id: Ia7a692739c2c637cca6b8a38fabf5f7f9b3e5386
improved logic of EditableValue.setState() and related tests

* EditableValue.setState() will now no longer generally refuse to change the related Toolbar's state if the EditableValue is in edit mode. Instead it will only be refused to change the state to enabled in case the EidtableValue has no value (empty) and at the same time the 'preserveEmptyForm' option is set.

* Improved some tests and fixed failing tests related to changing states of EditableValue.

* Fixed issue where EditableValue.Interface parts of EditableValue would not be initialized in EditableValue tests. Also added a check in wb.ui.Base wheter a subject is given, if not, an error will be thrown.

* Number of failing tests for EditableValue should be down from 17 to 6 now.

Change-Id: Ibf407b036bb829e92aba3e847dbc07de03cebc9a
added selenium tests for watchlist change propagation

- selenium now checks whether changes in the repo get propagated to the
  client's watchlists

patchset 2: rebase & fixed conflicts
patchset 3: use of RepoLoginPage instead of LoginPage

Change-Id: I5e4feec4122023bf05a772705e6252020751c8c4
Merge "moved submodules of pageobjects to seperate folder for better structure"
Merge "(bug 39522) solved bug 39522 for EditableValue.tests"
Merge "Refactored some of the EditableValue tests."
Merge "improved logic of EditableValue.setState() and related tests"
Merge "Use $.fn.val( ... ) instead of $.attr.( 'value', ... ) to set input box values"
Merge "implement onWikibaseDeleteData hook on client"
fix documentation

Change-Id: If359a6b7f71d99ff70cfff593755409bfb477dcb
handle undeletion of entities on client and repo

patchset 3: enabled selenium tests again to check undeletion propagation
patchset 4: rebased & solved conflicts

Change-Id: I4f358fa1743774d964d9c023fc7c663c13a7d263