added getLifecycleName to artifact.js
fixed formatting issue
Merge pull request #53 from splinter/master

Added getLifecycleName method