Add DBALQueryInterface

Further todos relevant to this code:

* https://github.com/wmde/WikibaseDatabase/issues/30 QueryResult inconsistency
* https://github.com/wmde/WikibaseDatabase/issues/59 DBALQueryInterface::select should use $options parameter
`Statement` is not used in this file.