Add ability to pass optional parameters to date_sales

Needed so I can get date_sales for specific products or get weekly downloads data rather than daily.

Hisham