Add getopt to ensure-bridge

We're about to make a few changes to ensure-bridge and getopt will
make backwards compat easier.

Change-Id: I9e4111cab41e992c98738d2c00cd8d780632e0d5
Merge "Add getopt to ensure-bridge"