Flask0.9

Update ihatemoney to work with Flask 0.9

Sorry, it was initially a wrong commit :s
By the way all tests are working but not when debug=True. I don't understand exactly why ...