Base structure for addUnits/addMachines in ecs

Add units and machines added to ECS - tests pass.
Tests added for new ECS methods.

To QA - from the console, follow the steps here: https://gist.github.com/makyo/9dc0503658b439d1ed7e