changed the existing rebuild database function and added supporting
functions to take all the existing photos and consolidate them into a
single backup album. THIS IS UNTESTED AS OF THIS COMMIT.