Last modifications to work on OpenStack

As been tested with this : http://code.launchpad.net/~thomnico/charms/precise/dns/openstack-support

Worked on both EC2 and private openstack. Tested with sipml5 charm in the charmstore.

Please comment
If `val_ip` is blank, we ignore `val`.  What is `val`'s value in this case?