Adds ability to pass custom query to search method.

Hi Again,

Thanks for your continued development of this wrapper.

I have the requirement of searching for multiple ticket ids for my project (and probably other more complicated searches).  This patch gives the user the option of passing a custom built query to the search method.

Thanks
Stewart