Clean up the integer-only number type

- Shorten the typeSpec.allowFloat check.
- Always name the type 'number', even when allowFloat is false.
- Instead of clamping float type spec values, throw an error from the
  constructor.
- Remove some extra whitespace.

Signed-off-by: Adam Goforth <code@adamgoforth.com>