Bug 1040747 - Modify erase command to use the new factoryReset. r=fabric...

...e

Modified to pass linter tests by removing the Promise global declaration at the top of commands.js.