Initalise query properties to WP_Query, not stdClass.

Inspired by https://bbpress.trac.wordpress.org/changeset/4996/