Merge pull request #6 from carlosmn/signature

Use time.Time in the Signature struct
Wrap immutable refs
Factor out creating the test repo
Add a test for references
Delete the whole test dir