Support for models which reference themselves. Fixing a max recursion depth error
Reordered generator logic to throw CreateInstanceError instead of a cannot be None error
Merge pull request #23 from jfyne/master

Self referencing model support