Migrate to PBR for setup and version code.

Fixes bug 1179007

Also, sync with global requirements because we can't do it in two steps.

Change-Id: If1c687f874272b9d9569af9dd1e5cb4457308f5c