Strip non-exportable signatures and cert components.
If non-exportable signatures are uploaded to Hagrid, this is most certainly an accident. Handle this gracefully by stripping these signatures (and certificate components that are only bound by non-exportable signatures) when writing them to the database.
Fixes #155 (closed).