add two new public methods to deal with bodystructure responses.
flatten_bodystructure returns a simple list of message part MIME types keyed by
IMAP id. search_bodystructure() returns the details of any message part
that matches the search criteria.
update examples with new methods added to the class