[SAMM PULL # JAG-1]

Added methods to detach a lifecycle, invoke a lifecycle state and check the state

Note:
The promoteLifecycle operation does not work.