Send the query patch to the IssueQuery class if it exists (#37)

This should address the failures in the latest Redmine 2.2 master