Don't set checked on node, but check what to set (checked, or hidden_che...

...ck). Also, Ext.isDefined(null) returns true, so extra check for null values. Fixed #110 
@geertplaisier Could you verify this fix?