Rework relationship screen a bit.

Caret on the left of contact groups.
Don't show anything if no contact is selected
Change dropdown icon to a vertical ellipsis
Moving the hover-menu a little on relationships
Fix whitespace issues, html/javascript injection on updates screen