Various format number fixes

Split out format number and record classes. Fix for nested format
groups. Support BZ and BN. Better ParseDouble for FORTRAN format
numbers. Improve G parsing.