Fixed infinite recursion on JMS Types that reference themselves or their parents.
Merge pull request #121 from relaxnow/feature/issue-109-pr2

Issue-109: Fixed infinite recursion on JMS Types that reference themselves or their parents