Install glance-api before creating subdirs

We need to install glance-api before we start creating subdirs
inside /var/lib/glance for swift device directories.

Change-Id: I6e35d65a3a8546d275084d929975548d856d8359
Closes-bug: #1346894
Merge "Install glance-api before creating subdirs"