C++: use set() function instead of wonky assignment operator overloading; rearranged class structure to match C API.
Test for forbidden keys in msig_set_property() and mdev_set_property().