Detect public IP address on the controller.

As Nuve and ErizoController may run on different hosts, detect the amazon
public ip on the erizo controller. Note that on amazon hosts we still have to
detect the private IP so that it can be properly replaced in other messages.