Fixed toDouble() method for ut8string and bytearray (added locale specific feature).