Work on the SQLStore from the last two weeks, squashed since we cannot push individual commits

Added EntityInserter

Change-Id: I1187f11c14103d531ecec45040fa71b71fbf898e

ClaimInseter and ClaimRowBuilder take an internal subject id rather then an external one

No good reason why they should be resposible themselves for finding the internal one

Change-Id: I6b9942d738d624aca069d2051911c6adc91d158f

Cleanup in EntityInserterTest

Change-Id: Ieadad478234a755895059ec68c3a3c77c6f62b83

Further implementation in EntityInserter

Change-Id: I6119bf7444b98c5359b810ac5e56822afd3fb1df

Added SQLStore file

Change-Id: Iab36932c2533af27145624c8b220ee434d0105f5

Added Factory in SQLStore to contain the building logic for the components

Change-Id: Ia8a8133e74cbfc324774e0027d0448970e5bf02c

Added extra tests for the SQLStore factory

Change-Id: Ic8378e7b48d912dffac50f76c729e52fdaaf74aa

ValueSnakStore now takes a snak role since it can only support one and needs to know which one it supports

Change-Id: I244655b2751a0c3e3039939f9a7f8eecc051bb89

Implemented getSnakStores in the SQLSTore factory

Change-Id: I80a6de93bc61bdad0836c6d35ce9acbdb5f8574f

Comment out RDF tests since they are broken when the RDF lib is not present

Change-Id: I176e3f0df28b888c5257d175fde16843ce6829fb

Added EntityIdTransfomer

Change-Id: I2b793a9a1f7c71cab53f855ba41d3bf652c36a2f

Make use of EntityIdTransformer

Change-Id: Ic3a0427c19c0e08a8c73344325ddbe13476a2f99

Added unhappy-path tests for EntityIdTransformer

Change-Id: I5894170d578564d69b2d5a6420e53f8ccc71549f

Created Engine component in SQLStore

Change-Id: I45f514138e4d6ba9144b96287aa254f84938731d

Remove EntityIdMap

Change-Id: I9f3f8b6536e7d31ebfca3523c1e5674d63a7d85b

Implemented Writer->insertEntity

Change-Id: Ib6743169c0d066b69fc77ee3ced7c6249b378808

Removed class registration file and added psr-0 based autoloading

Change-Id: I4f114cd9bef81f6f95f3780c30b305126f754b0b

Removed manual test file registration and added psr-0 based autoloading

Change-Id: I10b14a1dec9c150cc0c1022422942fec44c26210

Wikibase\Tests\QueryEngine -> Wikibase\QueryEngine\Tests

Change-Id: I41f6c93e99879664ea6e7904317c64da2f1f57b8

Added phpunit XML file and bootstrap

Change-Id: I54b23d83fdc9827b4385045dccda1923f7c44f07

Removed pointless usage of MediaWikiTestCase in QueryEngine component

Change-Id: Ie393b24c347e5216d4fb1c3c6a6c28334b463b47

Added non-mw autoloading support to the DataModel component

Change-Id: I8e82015d8f2fbf380b226d3201cb2f7bf65e6a84

Have HashArray dirive directly from ArrayObject so there is no dependency on MW

Change-Id: Iee7877fdc04653475a5eaae3e15569f6b5e8a004

Added non-mw autoloading support for Wikibase Database component

Change-Id: Ibbb1e000e97e7b3a82a78f9b33e5067a6fc8bdcf

Moved DBConnectionProvider to Database component

This is blocking independence of other components and is thus high prio.
Namespace should be fixed in a follow up refactor.

Change-Id: I43d3fabce4b25fb89b683c30edc4a873fcebdce4

Get rid of MW dependency in QueryEngine component tests

Change-Id: I90187c585b6c84922e5f096aad87d6047f6f3300

Re-enable RDF tests

Change-Id: Icafdc02692a8d38dea1eb2dae725d390d23631db