Added methods to detach a lifecycle, invoke a lifecycle state and check the state
Added functions to artifact.js to handle lifecycle actions
Merge pull request #48 from splinter/master

SAM PULL # 1 JAGGERY [ LC ACTIONS]