fix(download_total): change column date to DateTime

Fixes #540
fix sqlite raw sql return datetime is string format

Also add sql change wiki: https://github.com/cnpm/cnpmjs.org/wiki/Migrating-from-1.x-to-2.x#sql-changes
Merge pull request #543 from cnpm/slow-sql

fix(download_total): change column date to DateTime