support flask 0.8
Merge pull request #45 from baloo/features/support-flask-0.8

support flask 0.8