handle all forms of new log message webmachine might send us

Looks like in addition to sending {Code, msg}, webmachine can now also
send us {atom, Code}.  Added handling for the same.

ping @seth