modify trend api to reflect time usage not task count
routes/api.js note that the difference between two dates are measured using milliseconds
Merge branch 'master' of https://github.com/weiweicse/CS147-Time