Upgrade to Flask .10 for rendering templates without the test context