Display warning when multiple components have the same name.

Signed-off-by: Geoff Pleiss <gpleiss@pivotal.io>
Merge pull request #166 from bebepeng/feature/duplicate-name-warning

Display warning when multiple components have the same name.