Also add additional unit tests to make sure the permissions tests are completely solid.
* MM-10910 fix join and open channel commands to work with tilde * Fix lint * Add basic tests for command_join