octal_stod() may now throw std::invalid_argument.

Fixed some octal_stod compilation bugs.
Fixed some parseValueNumber compilation bugs.