Wrote api for rrd_strtod

rrd_strtoding makes error handling easier.
It is also for avoiding code repetetion where rrd_strtod has been called