Support promotion of int, long and float to wider types.

This is specified in http://avro.apache.org/docs/current/spec.html#Schema+Resolution