Make kmime_util methods and Message::mainBodyPart work with const objects
See individual commits for details. This further moves us towards being able to do read-only operations on messages without running the risk of implicitly modifying them.
See individual commits for details. This further moves us towards being able to do read-only operations on messages without running the risk of implicitly modifying them.