Add constraint to InstanceUser to prevent duplicates

Also adds a data migration to remove any duplicates that snuck in.
Users should only have one InstanceUser per Instance.
Merge pull request #1503 from maurizi/fix-duplicate-instanceusers

Add constraint to InstanceUser to prevent duplicates