beta: adapt lucene search cron for beta

sync-conf-from-common had harcoded 10.5.0.8 IP addresses, abstracted
that out to three new configuration variables that varies based on the
realm.  Also made all-labs.dblist to be used when on labs.

Change-Id: I4421ab8913e54e1343fa22b779a14424ff69d7df