bug fixes and enhancements for dsc-698 arising from testing
tidying up interface
merged with vastly updated master
fixed security to match new paradigm
removed defunct code
changes identified during code review - fixed access check and made some code more readable
Merge pull request #903 from nla/sc-dsc-698-recurse-del

Sc dsc 698 recurse del