Implemented queue_log_func, ship_log_func, refactored archive_func
Merge branch 'master' into 5297

Conflicts:
	bin/cmd_worker.py
Implemented CMDWorker.pull_exception(): Returns a formatted traceback
Fixed an extra space in declaration of SSH flags
Import required for subprocess module
Refactored ship_log_func() to use subprocess.call()
OK alerts now send with 0 instead of empty return code
Removed leftover debug lines
ship_log_func and queue_log_func now accept a single string argument; implemented handle_queues()
Added debug messages during base backup
Added some debug messages
Moved messages to stdout to new log system in cmd_archiver
Integrated more debug/log messages
Implemented CMDWorker methods log(), debuglog()
Added more log messages
Forgot to assign success to archiver.archive_func() return val; fixed
Typo
Merge remote-tracking branch 'zam/5297'

Conflicts:
	bin/cmd_archiver
Fix retval of archive_func.
Merge remote-tracking branch 'zam/5302'

Conflicts:
	bin/cmd_archiver
	bin/cmd_standby
	bin/cmd_worker.py