Refactor RDLogEvent::save() to use a single SQL query

Improve log save performance issue reported in #41 : 

Before : 

    720 SaveLine: 50162 ms
    ...
    720 SaveLine: 49580 ms

After : 

    720 SaveLine: 145 ms