Extract expansion_titles method for use independently.

Using the new method to verify the integrity of imported expansions will allow
a system to import expansion abbreviations (costly) for only those expansions
that are missing.