DS console cake unification

and cleanup

In both Core and App versions some variables have been unsetting that didnt even exist.
I also unified DS the same way it is for index.php and test.php
and added the missing `unset($rootInstall, $composerInstall);` part.