Made delete task support deleting directories too.
Added support for executing remote raw command line, and added missing token replacement.