Add support for date_query on get_log_count(). This is required since we can't filter post_where due to suppress_filters being set to false, which is needed to ensure no other queries screw up our log counts #1628
Fix bug with this_year predefined date in EDD_Stats. #1628
Fix bug with last_year predefined date in EDD_Stats. #1628
Ensure dates always go to the end of the day / month. #1628
Use get_log_count() date query instead of posts_where for sale counts of specific downloads. #1628