Made sure that when a dataset is deleted its variables are really deleted
Merge pull request #93 from kazoompa/bug-MICA-1123

Made sure that when a dataset is deleted its variables are really deleted