Various improvement

* sync db after glance-registry.conf is generated;
* add a default centos image link for ease of testing.