Uses withRights option recursively
Allows to fix rights when copying resource
Calls addChild method when copying a resource
Adds comments
Merge pull request #924 from kitan1982/resource-node-copy-bugfix

Resource node copy bugfix