add gitignore file

refs: http://gitignore.io/api/python
pip freezed and some tweak for flask 0.10.1

but there are some bugs in the code, like
  "global name request is not defined"
Merge pull request #2 from zhuangya/virtualenv

Virtualenv