Support for signed tags.

Also switches to annotated tags when not using signing.

Tests all passing.