check for old and new port num variables

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
correct if else syntax

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
check for PROXY_MIN_PORT_NUM if PORT_BEGIN undefined

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
check for old node conf vars if newer undefined

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>

new: UID_BEGIN old: GEAR_MIN_UID
new: PORT_BEGIN old: PROXY_MIN_PORT_NUM
new: PORTS_PER_USER old: PROXY_PORTS_PER_GEAR
correct if else syntax

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>