Removed unused field and imports
Refactoring
Simplified code that waits for incoming messages

The new implementation uses less threads and less callbacks and properly
manages WakeLocks. The change requires the refactoring of part of the
ImapSession code and allows for elimination of a bunch of classes from
the ch.carteggio.net.imap package.