Config Indexes

Added appropriate primary key for uniqueness constraint and searching, left group index for searching, removed item index and namespace index as they aren't used or were replaced by the new PK.

Fixes #1210