Add portable strtod implementation.

Ignore locale problems with strtod.
Optimize lexnumber when using strtod.

Keep the old--fast but inaccurate--version in #ifdef 0.