mod_privilege: Fix IQ privileges advertising for multiple namespaces
Before this fix, the namespaces element were wrongly nested.
This module writes out a traceback to `traceback.txt` in Prosodys data
directory (see `prosodyctl about`) when the signal `SIGUSR1` is
received. This is useful when debugging seemingly frozen instances in
case it is stuck in Lua code.