Add as_store_add_metadata_index()

Adding the whole Fedora 21 archive is taking over 2 minutes just scanning files.