mostly-working setattr
__setattr__ fixed by looking for __set__ on classes
merge