Updated items.txt with recent data

Updated the items.txt file with up to date items from my detonate dead
character.
Add support for socket/link groups when retrieving socketed gems

Added support for socket/link groups when retrieving the gems socketed
in an item. This is crucial for correct dps calculation. Also added some
documentation to explain what the code does.