Improved support for shorts

* Relies on the existance of JsonParser.NumberType.SHORT
* JSONGenerator writeNumber(short v)