allow passing db driver options

fixes #11718

see http://stackoverflow.com/a/21393661
added with https://github.com/owncloud/core/commit/de72aff2c1303b848cbf6fa49ea3d8a466344491