Removed conditional upgrading with oldminor.

Too much hassle for a little gain.
Fixed lib:IterateSpells(bookType).
Properly update the lastSeen table.
Store all ids assigned to the same name, and provided a lib:GetAllIds(spell) methods to fetch them.