SAMM PULL # ES-1

Added lifecycle detach,view and promote actions. 
Also has the fix performed by Ruchira to allow creation of ArtifactManagers.

NOTE:
* The promoteLifecycle operation does not work.Thus, the PUT /publisher/api/lifecycle/{state}/{type}/{id} action does not work.

* Requires the changes to ArtifactManager which has been provided in [SAMM PULL # JAG-1]