Add `componentWillUpdate` lifecycle wrapper

This PR adds the `on-will-update` and `on-will-render` lifecycle wrapper fn's. These can be used to prepare the page for an update, e.g. by adding or removing a class to trigger an animation.