Create imap.d.ts
Create imap-tests.ts
Update imap.d.ts
Update imap.d.ts

Explicit (but temporary) any types.
Update imap-tests.ts
Merge pull request #3210 from Steve-Fenton/master

Type Definitions for node-imap