init 368
refactor code to fetch tasks.size with one line sql
add step measure
add miniprofiler to production env
Merge pull request #297 from xiongbo/master

finished 368