Improve store performance for orders with total quantity > 1000

by refactoring Package#add and converting Package#contents to a Set