Add 'applies-to' data to deployed profiles.

Change user/group combo boxes on the deploy screen to checkboxes so
that multiple selections are possible, and apply the choices to the
JSON profile.