Card #147 fix for saving codes/groups (index can be incorrect for cloned objects in angular, standard for loop instead), started work on groups, added self reference relationship using ManyToMany based on new PV_Group_Relationship table (note, test fails due to failing to persist, needs completing before group admin finalised), added groups etc to route static data