Bug 1101492 - Improve ActionLogDB

IMHO If we have 3 databases we have three time in memory tons of functions that could be shared. Or we implement a module/factory and this one has the implementation of these common functions or we could add them to DatabaseHelper.prototype._xxxxx