Glance Registry will at some point be removed from puppet-glance once
API v1 is totally remove from Glance tree.
Some people using 100% v2 API don't need Glance Registry, so they don't
have to run glance::registry class. Though they need the db_sync, so
this patch aims to move the db_sync parameter from glance::registry to
glance::api.
The parameter in glance::registry is deprecated and will be removed in a
future release. Now people should use glance::api::sync_db.
Change-Id: Ib554edb13386845198140c87b0a9b931500656d2