Added a separate scap-rebuild-cdbs phase to scap

* Moved the rebuild code out of scap-2.
* This uses full fanout as the network traffic is minimal; the work is all local.
* This change is wrapped behind MW_SCAP_BETA.

Change-Id: I0b18af5ae085c6e7735e61ff468864ed54a872be