Update LOCI and fix group fallout

Reviewer: @harshsin

LOCI was changed to add group-mod add/modify/delete classes like with flow-mods, so the OFStateManager message handler needed to be split apart.

While I was there I replaced the linked list of groups with a hashtable to speed up ID lookups.