GS-11841 GS-11274 Application undeploy option changes: 1. added option to undeploy application 2. Added checking for undeploy option existance