More logging fixes, and queue work

There were some bugs in the commit to create queues dynamically. The
engine now creates queues that are needed, and passes to react scripts.

Also made some fixes to example code, added some config files. They
contain usernames, but should be simple enough to modify and test

Change-Id: Ife1977b3f8d669024fd853b6691300b5dd4fd73f