Fix type validation: Allow values to be more than one type

Values like `1` should count as both an "integer" and a "number" according to the [primitive type definition of JSON schema](http://json-schema.org/latest/json-schema-core.html#anchor8). This pull allows that to happen.