TS-2729: move HPACK and Huffman code to libhttp2
TS-2729: extend the notion of HPACK field type

Add hpack_parse_field_type() to detect the HPACK field type, and
extend the enumerated type to include all HPACK fields. Remove raw
bit testing where possible.