Fixed wm_qualified_name to deal with both snames like 'foo' and names like 'foo@localhost'.

Fixes https://github.com/ChicagoBoss/ChicagoBoss/issues/460