Allow Queryable#query_pattern and #query_execute to have an optional second argument for passing options.