Allow parenthesis in search if it's still one statement.

This is prompted by http://bugs.python.org/issue917120 , where
parenthesis work around incorrect quoting of strings.
IMAP: Move search tests to new file
IMAP: Tests search with extra parans around the keys
IMAP: Handle search with extra parans and one key
Merge branch 'search-paren' into next