Bug 1101492 - Improve ActionLogDB

This is not blocking, but why dont we return an object with `gets` instead? In order to not modify `_db` from outside.