fix bugs, auto register tasks
tornado server add address option
Merge pull request #17 from hichenming/master

auto register tasks, and fix server bugs