* activate the clang flags
* don't use memset on inventory class - it would wipe away the vtables
* fixed format string warning
* fixed forward decl for IImageModule - this is a class
* fixed bug #5096 (Compile Error on Mac OS 10.7)
* fixed warnings