Rewrite to add signed lit support

According to the Batbridge spec the lit field is really a 10 bit
integer with a sign bit. This change fixes the lit parser to correctly
exhibit this behavior with sign extension.