Clear resources command.

This command removes all resources in platform, stopping them first if they are active.
Fix typo
Merge pull request #622 from isartcanyameres/feature/clear-resources-command

Feature/clear resources command