Fixing module exports, making sure IdentityCertificate populates fields after wireDecode, fixing IdentityCertificate constructor