Added methods to detach a lifecycle, invoke a lifecycle state and check the state
Added methods to detach a lifecycle, invoke a lifecycle state and check the state

rasika90/jaggery,hmrajas/jaggery,Niranjan-K/jaggery,DMHP/jaggery,rasika/jaggery,cnapagoda/jaggery,maheshika/jaggery,Niranjan-K/jaggery,rasika/jaggery,thusithathilina/jaggery,DMHP/jaggery,sameerak/jaggery,lalankea/product-jaggery,maheshika/jaggery,charithag/product-jaggery,charithag/product-jaggery,wso2/product-jaggery,wso2/jaggery,cnapagoda/jaggery,rasika/jaggery,hmrajas/jaggery,lalankea/product-jaggery,DMHP/jaggery,sameerak/jaggery,thusithathilina/jaggery,sameerak/jaggery,manuranga/product-jaggery,wso2/product-jaggery,wso2/jaggery,rasika90/jaggery,thusithathilina/jaggery,lalankea/product-jaggery,cnapagoda/jaggery,manuranga/product-jaggery,wso2/jaggery,manuranga/product-jaggery,charithag/product-jaggery,manuranga/product-jaggery,lalankea/product-jaggery,hevayo/jaggery,rasika90/jaggery,hevayo/jaggery,maheshika/jaggery,wso2/product-jaggery,hmrajas/jaggery,Niranjan-K/jaggery,charithag/product-jaggery,wso2/product-jaggery,hevayo/jaggery