Variant: add index based field getter API

individual and shared fields can be more efficiently accessed via
indices looked up from the header once instead of doing the hash lookups
every time you access a field (during traversal). This commit adds that
functionality.

* add field index API to the VariantHeader
* refactor code duplication in INDIVIDUAL and INFO field API
* avoid double index lookup in the unforgiving field getter API
* add tests for missing indices in the header

ps: tests for the by_index API are written in terms of the field getter
API that accepts conversion. Exceptions are on the tests commented out
that require #187 to be implemented. Hence why a few are not covered.

fixes #162

That's a fair point -- in a way it's unfortunate that htslib uses the same index for fields of the same name but different type (BCF_HL_FLT, BCF_HL_INFO, BCF_HL_FMT). I think that a disclaimer in the docs is sufficient to deal with this issue, though -- any questions can just be answered with "RTFM" :)