Wrote api for rrd_strtod

rrd_strtoding makes error handling easier.
It is also for avoiding code repetetion where rrd_strtod has been called
you are calling rrd_strtoding ignoring the return code ... so we will never know what went wrong