update flask to 0.10.1

also updating pymongo to 2.7.2