Added alert hub integration, logging of sent alerts and permissions

Conflicts:
	modules/s3/s3msg.py