Wrote api for rrd_strtod

rrd_strtoding makes error handling easier.
It is also for avoiding code repetetion where rrd_strtod has been called
Old code was doing the same thing, it was passing endptr as 0.
But to be safe, it's better to check I think :)