another round of updates:
- more cache fixing
- improved search and obsoleted get_unseen_messages()
- added messages to the debug list when a command does not return an OK
  response
- added a public function to get the first matching MIME type content
  from a message
update the examples to work with the class changes