Improving internal timing code
Search optimizations, do not return full thread details unless requested
Stop initializing jinja on every request
Suppress detailed timing info unless sys.debug wants "timing"
Fix broken tag display in CLI sesarch
Make search use _success (issue #383)
Added support for multiple selenium tests.

- fixed problem with selenium tests in multiple files
- added test to check for reading a single mail
- fixed shutdown error in httpd.py (socket not closed)
Added gui test for mark read/unread.

- Added some test convenience methods
Fix for race condition while checking for class absence or presence.