Rename flask.register_blueprint() with app.register_blueprint().

I'm not sure about notation, but register_blueprint() is a method of app obj.