MODE-1859 - Fixed the CLI errors on repository removal

The errors were caused by the fact that when a repository was removed, not all the services that were started/created when the repository was first added, were stopped/removed.

Also, the entire service remove/recover code for all the services started by the ModeShape subsystem was refactored.

The fix was tested on EAP 6.1.0.Alpha1