Added empty? method to cart model.

Closed the old pull request and made suggested changes in this version. Wasn't sure how to make changes to an existing pull request without ending up with a mess... thanks!