Fix "limit" parameter in list function
Move helpers methods in imap module

imap module aims to centralize IMAP protocoles specific codes in order to ease the use of this package.
Still a work in progress