Add functions for testability to the EventLog APIs

Test: bit statsd_test && adb push out/target/product/sailfish/testcases/statsd_test/arm/statsd_test /data/statsd_test && adb shell /data/statsd_test
Change-Id: I34ef25b174e9660ee328d5eddbac631c5c7caf62
2 files changed