indexstorage upgraded to be used with gid storage

Database is not stored on metadata anymore. A document is created with the
database as attachment.
indexstorage tests updated
indexstorage added to jio dashboard