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
How do you know it's an int? Just wondering.