Support varints up to 52 bits

This patch expands the range of supported varints to 52 bits (the mantissa of
the JS Number type). Further expansion will require a representation of the
number as a string in the JSON schema.