fixed BTM-37: changed lifecycle to respond to BEFORE_START and AFTER_STOP events
fixed BTM-37: changed lifecycle to respond to BEFORE_START and AFTER_STOP events

brettwooldridge/btm,veresh/btm,gavioto/btm,brettwooldridge/btm,sshankar/btm,bitronix/btm,marcus-nl/btm,tomsorgie/btm,gavioto/btm,bitronix/btm,veresh/btm,Everteam-Software/btm,sshankar/btm,leogong/btm,Everteam-Software/btm,pgbsl/btm,marcus-nl/btm,pgbsl/btm,leogong/btm,tomsorgie/btm