#498 Able to add groups to dataset

Fixes #498 

Essentially the fix is that it was trying to add new groups by 'name'. Which the select2 box wasn't selecting on. Therefore I've made it so that select2 autocomplete ajax callbacks now format results with an id if they are within the response.

:boom: