New flask hooks
Minor: indentation
Added missing hooks
Merge pull request #55 from okfn/missing-hooks

New flask hooks