Allow use of long or short names via a variable in rabbitmq-env

I ported all (unix and windows) scripts to allow one to use short or long server names on rabbitmq.

I believe this is important because on AWS/EC2 one is not supposed to use short domain names for we have no control over resolv.conf nor AWS's DNS.