Ensure default parameters are set for cart items.
Fix for purchase-log stats sql

Should fix issue #1526
Merge pull request #1527 from misulicus/patch-21

Fix for purchase-log stats sql
Merge pull request #1368 from benhuson/default_cart_params

Ensure default parameters are set for cart items.
Merge branch 'master' of github.com:wp-e-commerce/WP-e-Commerce into paypal-fork