GRAILS-10233 - locale aware number conversion support

Some relevant functional tests: https://github.com/grails/grails-functional-tests/commit/ffac2884070141afd09c61496acaa31437271ecd