Emit event to set active employee or group when clicking instead of setting directly
Changed name of onClick functions
Automatically activate newly created groups
Automatically activate newly created employees
Move `lastItem` function to array utility factory
Make group active when employee is deleted
When employee is deleted, make group active without using emitted event
Make no groups active when group is deleted
Make infoPanel scope watching more concise
Set active employee directly instead of with event
Documented why we use events for groups and not employees
Merge branch 'active-group-and-employee'