Check for the existence of this.config.query.

Otherwise, if there is no query section in the config then we'll
throw an exception when we check this.config.query.strdates.
Merge pull request #234 from michaelr/sqlite-strdates-bug

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