Update the added services template instead of re-rendering it
Added test to make sure we don't re-render the added services template on updates
Merge pull request #632 from hatched/as-summary

Don't re-render added services templates on updates

The added services template was getting re-rendered changing the container elements of nested views. This was causing the environment counts  element to blank out when changing from service view to machine view.
Switch from events to setting service flags.

Instead of firing events on the topology, we're switching to setting
flags on the service and unit models in the DB. That way the data is
persistent across state changes (i.e., when a user switches from
service view to machine view) and we maintain one single source of
truth.
Machine tokens are correctly shown/hidden when the user modifies the triggers in the added services sidebar
Unit token rendering now correctly respects when units have been highlighted, hiding the others
Fix toggling between states.
Merge pull request #631 from kadams54/added-services-db-refactor-2

Switch from events to setting service flags.

Instead of firing events on the topology, we're switching to setting
flags on the service and unit models in the DB. That way the data is
persistent across state changes (i.e., when a user switches from
service view to machine view) and we maintain one single source of
truth.