Double values serialization improvement.

Now e.g. 0.5 is represented as "0.5", not as "0.50000" (also
"precision" directive from php.ini is respected).
Bump v1.01