Fix and extension:

1) Raise errors in unknown sign/refs/transforms
2) Do not fail if signature tag not embedded into source document