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.
Merge pull request #5 from somatonic/patch-1

moved actions to ready() to be able to hook into methods, made addProduc...