Add {de,}serialization for signed ints

Parsers for signed ints are useful for parsing existing data formats (I've defined similar functions in the past). Encoders are useful too as shown by #33.