Added commands and store actions logging

Cherry-Picked-From: d8d70bfc195747c020f46ac82f3a38ec1f894349

Pick notes:
This also contains the commit 0388d686 which was lost in transit.
We also import pootle_misc.log instead of pootle_misc.log.<action>
to make things more readable.