doc updates and extension test mocks

- update docs for extension api
- update readme with better-looking badge
- update dependencies
- mock extension hook tests