Fixed discounts to make them work at product detail view
Added datetime criteria type.
Merge branch 'dev/discounts'