Include id in iq responses when configuring a locked MUC room

And use jlib:iq_query_info() to simplify locked_state and make it more
consistent with the route_iq/do_route_iq/process_iq_owner code.
Fix mod_muc_room compiler warnings and minor formatting issues