Issue #27 Lifecycle stuff, ready for final review pass

Before I start implementing this all over the place!
Given https://github.com/alexsnaps/ehcache3/commit/c12f436cba4976d7768965c1a3f33da73a897581 I think it's fine indeed