lib/imapget.rb: Refactored and updated.

* Added STARTTLS support.
* Added LOGIN as fallback for AUTHENTICATE.
lib/imapget/cli.rb: Added options '--dupes' and '--uniq'.