add callback for receiving STATUS responses

fixed parser error with numbers

fixed parser error with quoted strings

made imap_debug_callback_t use variable arg list

added debug level to debug statements