UnitContainer is now a std::vector of smart poitners to units.
UnitRepository::Create() returns an object on the heap that the caller
must take ownership of (and does by storing in above container). Fixes
the segfault.