rename 'search' to 'gmsearch' to not conflict with IMAPLib's baked in search().
***Broke backwards compatibility***  gmsearch() is now a thin wrapper around search, while gmsearch_messages offers the generator available in the previous version.
Beefed up unittests to cover more cases.  Still a work in progress.