Fixed a small typo when checking if a property is an object. Also made sure that a class can't include itself as a dependency.
Made it so only ObjectProperty's (for now) get the header for their class included. (due to struct's not being dumped yet)