Remove before and after invoke hooks. Fixes #4. Also remove dependency on MS.Owin.Hosting in tests.