Port WPSC_Product class over from the new theme engine
Stats API for products and purchase logs
Get date range stats for individual products and collections
Fix PHP notice
`$this` should be `$log` in _wpsc_action_update_product_stats()
Merge pull request #620 from garyc40/pr-wpsc-stats

Stats API for products and purchase logs