Check for the existence of this.config.query in sqlite driver

Otherwise, if there is no query section in the config then we'll
throw an exception when we check this.config.query.strdates.

see https://github.com/thedjpetersen/subway/issues/256