dtoa incorporated into r3

this solves CureCode #1942.
It is the first part of Android-related pull requests.
Tested using core-tests.