added "synchronized" keyword to prevent race condition in RRD4JService

When multiple persistence strategies update the same rrd4j database file at the same time, a race condition can lead to corrupt data being written to the file, resulting in spikes in the data.
This bug was fixed by adding the "synchronized" keyword before the store() function in the RRD4JService class.