memcache script updated to get listening ip

Updated this script to get the proper IP that memcache is
listening to instead of assuming 127 is the one. Also changed
some variables to lowercase.

This closes https://github.com/rcbops-cookbooks/swift-private-cloud/issues/21