gtruby: missing methods and fixes

This PR fixes a problem with error reporting in the Ruby bindings and also adds the methods `FeatureNode.remove_attribute()` and `FeatureNode.set_attribute()`