Add redeploy parameter to configureApp

Automatically redeploy an app after its been reconfigured.