Wrote api for rrd_strtod

rrd_strtoding makes error handling easier.
It is also for avoiding code repetetion where rrd_strtod has been called
Alright, that sounds better, I'll do that!