Generated comments, if any, for properties. Fixed a possible crash with the multiple inheritance.

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

Added two passes, for clearing comments and for collecting type defs per type. Fixed a possible crash with the multiple inheritance.