Extensive modifications after fork:

* removed `imap` module and use `imapclient` as base class
* completely rewritten query builder with unit tests
* compatible with Python 2.6 - 3.4'
* minor parser corrections and improvements
* added nose and tox testing
* source styling and PEP-8 overhaul