Better handling of collection reordering (with doubles)

Fixed another issue with re-ordering collections: BluePrintsPersister#updateCollection did not properly handle Collections with doubles of some values. The result was both incorrect ordering (the same Edge was used multiple times), and "Edge leak" (since the doubles of an existing Edge were not deleted).