Implement IMAP string scanning

Many IMAP responses contains strings, so the IMAP scanner will have to
know about strings. Implement support in the scanner class for scanning
strings.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>