pymapistore: add message_get_properties and message_set_properties

PyDict_Iter might be simpler to use here, rather than getting a list of keys and iterating over those.