Add headers to the Result structure

Capture HTTP headers in the `Result` structure, and rename it to `Result` from `CommonResult`.

- [x] Remove the now-unnecessary embedding types that added header structures.
- [x] Use `Result` in pagination.