[Issue #7] Added master-detail and lookup relationship differentiation to diagram. fixed test failure. added test coverage to new settings