added check for self-referencing unit definitions
Merge branch 'master' of github.com:mbeddr/mbeddr.core