Add pj_encoding_t.

This type holds an encoding name and method pointers for encoding to
and decoding from said encoding.

Signed-off-by: James Cloos <cloos@jhcloos.com>