add dump object file tool

Add an object file dump tool.
BTW found an issue in pkcs11.h with OS X Xcode last compiler which extends the bit in (1 << 31) (vs (1ul << 31)).
IMHO we want to keep the at least 32 bit comment of PKCS#11 definition of CK_ULONG so CKx_VENDOR_DEFINED should be 0x80000000 not 0xffffffff80000000...