Modified activites to be GROUPING_SUPPORT_OPTIONAL so that they would use the class grouping for a tool session, rather than a one individual per tool session.
deleteFolder method - it will delete all resources inside that folder (if user has permission to) . if resource inside that folder could not be deleted, it will return a flash message indicating which one could not be deleted.