87777: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
87727: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.4)
82329: MNT-11909 : Folder created from template has incorrect primary path or name
Fixed the webscript to use setName instead of directly modifying the name property.
Added JUnit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261