Fix warnings in ImapString and ImapStringTest.
Remove useless field "params" in ImapCommand struct.
Added dependency of libconfig.