Added logic to display errors and warnings

@tsanko Here are the client side changes for displaying errors and warning from Cart. I'm deploying the server side changes to samplestore.io now.
In the next iteration, I want to support messages in the translate file with place holders which can be replaced with the data. I also want to abstract out the displayCartMessages function into a service, and add some tests.