feat: add math preferences by antonreshetov · Pull Request #710 · massCodeIO/massCode

@antonreshetov

Replace hardcoded 'en-US' locale and precision 6 in formatResult with
configurable activeLocale/activeDecimalPlaces backed by formatMathNumber
and formatMathDate utilities. Add setFormatSettings() to the engine API.
Update formatMathDate to include date+time (matching prior toLocaleString
behavior) and fix tests to use explicit en-US locale.