accomodate for parent possibly being nil in equal check
fix the tree equality test
CWErrorSet calls CWErrorSetV just with nil for user info
minor NSMutableURLRequest refactor