update for flask 0.9
Merge pull request #98 from aavenel/flask0.9

Flask0.9