Improved the advanced property pass to avoid a crash and generate more properties.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Marked the __Instance property in interfaces as synthetised.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Fixed the generation of anonymous types to consider parenting anonymous types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #339 from ddobrev/master

 Improved the advanced property pass to avoid a crash and generate more properties