Design changes to use DI for handler registry. Registry handles the
lifecycle methods of handlers it understands.
Merge branch 'master' of https://github.com/Flipkart/phantom