Make cart actions RESTful.
Merge pull request #1557 from kayue/patch-19

Make cart actions RESTful.