Cleanup: moved `log` to `pootle.core`

Cherry-Picked-From: 14102e55d86a62a57f2da05a90e2e864b574c151
Fix log formatting

Conflicts:
	pootle/apps/pootle_misc/log.py