cue/scanner: fix JSON compliance
Exponents with a captial 'E' were not handled
correctly.
Disallow multipliers ending with E, Y, or Z for
now to somplify implementation.
The formatter now rewrites a capital E in
exponents to e.
Change-Id: I1b1342e995b3f6f71d5700807feb5c672b010eca
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/3481
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>