Use IssueQuery class instead of Query class.

Need to call IssueQuery class to use the unique attr from Redmine 2.3.0.