Refactored and fixes issue with cart messaging

@tsanko made some refactoring changes and also fixed the issue with success message not shown. Please take a look and pull in.
Not true, if the en.json does not have an entry for the error code passed back, and if the server error did not have anything in the Message property, it would fall back onto the CART_UNKNOWN string. Does that make sense?