Moonshine life cycle listener

Change-Id: Ib7f336c454f64b19cacf042d429b37845a091bfb
Refs: #20
Reviewed-on: https://pirx.atteo.com/gerrit/491
Tested-by: Sławek Piotrowski <sentinel@atteo.com>
Reviewed-by: Tomek Piotrowski <tomek.piotrowski@atteo.com>