add backward compat to server.js finding of master for non-Kuberetes env
add backward compat to server.js finding of master for non-Kuberetes env

GoogleCloudPlatform/gce-oreilly,GoogleCloudPlatform/gce-oreilly,GoogleCloudPlatform/gce-oreilly,GoogleCloudPlatform/gce-oreilly