Simplify index sub-module.

I feel like there's room for more convenience functions, but
I'm going to let it simmer with a bare bones interface for now.
ByteStrings support `[]` and no_headers was renamed to has_headers.

The renaming (and addition of `yes` parameter) makes the API more
consistent.

[breaking-change]
0.4.0