Rework system init to support docker data containers.

This change shifts the image initialization to when the
container is created. This allows the user to mount a
volume under the gerrit installation before it is created.