add task page

close #4
fix bug when create sqlite database connect
fix sqlite connection can't shared within thread (not process)
rewrite database test
add database/mysql/taskdb
add mysql/projectdb
travis hasn't mysql-connector-python>=1.2.2 ?
add --allow-all-external
add /tasks
wait for longer when check update
travis ci failed again?
wait for 0.1s to prevent select the tasks just inserted
Merge pull request #1 from binux/master

merge from original