Remove unused imports
Add test case about restarting a suspended app
Finish RestartApp deployment step successfully if instances==0

Fixes #919.
Merge pull request #921 from sttts/suspended-app-restart

Finish RestartApp deployment step successfully if instances==0