Add join_wan feature

Allow the module to join a node to a wan cluster/a multiple datacenter set up.

The grep is a bit complex but it was the cleanest way I could find to determine if the node was a wan member.