Don't allow ImapFolder.Search() or .Thread() to return null

Fixes issue #102