Message queue implementation

Put a message on the queue when content is created or updated.
I'll take on tidying up the docs a bit in a separate PR.