use openssl_random_pseudo_bytes to generate random bytes
change doctrine/dbal version from '>=2.3' to '2.3.*'

the change is required to make the tests run again. Doctrine has
made some changes which seems to introduce a bc break
Full code coverage for generateBytes()