pymapistore: add message_get_properties and message_set_properties

check for OOM