db: Add method to find all albums, artists, etc.

This will be used to help create the new browsing view, where it makes
more sense to know what albums we have, artists, etc, as opposed to
a spreadsheet view. (Yup, said it on Git.)