51998: Deleting a store is now functionally the same as deleting a node but without any option of archival
- ALF-19153: CLOUD-1685, CLOUD-1827 and CLOUD-1828
- While cleaning Cloud test data tenants are deleted, which leads to their stores being deleted.
- NodeService.deleteStore was not firing policies for every node in the store; several bits of pre- and
post-delete code were therefore not being called, which lead to secondary data (caches, attributes, etc)
being left lying around.
- A side effect of this fix was that the sys:undeletable aspect has to be disabled during account deletion
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261