Doctrine dbal adapter

Continuing #51 

@stof @mtotheikle What do you think about this?