updated jquery to manage primary contact checkboxes

Manages checkboxes for primary contact--only one contact can be primary. Also updates a new primary contact if primary contact is removed (previous contact in list is selected, if it exists. If not, then next contact in list is selected. When all else fails, select the first in the list.)