JBIDE-16505

95% of the patch is the test case.  Ensuring .deployed marker is removed after a remove publish