moved actions to ready() to be able to hook into methods, made addProductToCart hookable

As example for use of the hook. I have a hook to show a message on front-end when adding or removing item.