Allow alias use for joining rooms

Because this required commands.js to have access to the alias list, it was much simpler to make a separate function to check for aliases.