queryservice: add waitForMysql option

There are use cases where vtocc needs to wait for mysql to come
up. Add this flag to allowQueries so this functionality can be
supported.