SAMM PULL # ES-1

Added lifecycle detach,view and promote actions. 
Also has the fix performed by Ruchira to allow creation of ArtifactManagers.

NOTE:
Requires the changes to ArtifactManager which has been provided in [SAMM PULL # JAG-1]