Adding check to search to suppress errors/warnings on empty search.
Fixing reference to unknown var $asf; adding support for iPhone-style "deleted messages"
Removing redefinitions of IMAP_ settings, reduces warnings in log
Moving config to config.php.example so it won't interfere with user config, updating gitignore to ignore config.php