Issue #120: added EdObject method to construct edit operation for editable objects

Also, added EdObject.valid() method to detect problems with restored objects from JSON