Introduce `flaskext_compat` module to support Flask 0.7 and earlier