Use legacy package names, add Provides for new package names.

This flips the existing behaviour of creating new style package
names and adding Provides for legacy package names.

Change-Id: I471c29e65c44dfa0493059d4f237fa1374e64ed9
Merge "Use legacy package names, add Provides for new package names."