Add StorageObjectFactory

Give it a path and it figures out what kind of storage object to
instantiate.

Signed-off-by: Andy Grover <agrover@redhat.com>