Added commands and store actions logging

Cherry-Picked-From: d8d70bfc195747c020f46ac82f3a38ec1f894349

Pick notes:
This is a squash of the logging changes by @ta2-1, including all
the followup fixes by @julen.

We also import pootle_misc.log instead of pootle_misc.log.<action>
to make things more readable.

Invalidates:
  evernote@bbb2ffaba090e85aae7b634de6fc19c574bccc9a
  evernote@79d68bdfc3fa2d6e22e31c4b95b9530a8e3198b3
  evernote@0388d6862119f45932936c580281b1f88c63f942
  evernote@45cf6acb49951db96d51c96340290485cb717e30
  evernote@c114e0a44c278723d500aac2ebddcd61593702e8
  evernote@00544187ff652726cea4f4310e9fe9dfdb93d7fa
  evernote@6b263d0426836464d91fa4dbb0d602d93eef5b54
  evernote@d8d70bfc195747c020f46ac82f3a38ec1f894349
Cleanup: PEP8 and coding style fixes

Cherry-Picked-From: bbb2ffaba090e85aae7b634de6fc19c574bccc9a
Cleanup: moved `log` to `pootle.core`

Cherry-Picked-From: 14102e55d86a62a57f2da05a90e2e864b574c151
Fix log formatting

Conflicts:
	pootle/apps/pootle_misc/log.py