Add "ext-imap" to composer.json

This library needs it. :)
Merge pull request #14 from asm89/patch-1

Add "ext-imap" to composer.json
Merge remote-tracking branch 'upstream/master' into develop

Conflicts:
	composer.json
Merge remote-tracking branch 'upstream/master' into develop

Conflicts:
	composer.json
Update dependences.
Closing connection in destructor.
Merge branch 'release/1.0.1'