I've added some tests of service deployment
functionality (in testsuite, ./build.sh -Dtest-jmx
test) that test undeployment and repeated deployment of
*-service.xml and .sar files. I've also changed the
ServiceDeployer (mostly) and ServiceController and
ServiceLibraries to make undeploy work better and to
track sar dependencies and enable recursive deploy and
undeploy of .sar (and .jar) packages.