Raise a big fat exception if creating a unit with the same name as an existing unit.
Merge pull request #1070 from mdboom/unit/exception-on-redefine

Raise exception if creating a unit with the same name as an existing unit