Add checkInvalidCertificate method for SignedMap class

Includes unit test
Do not allow creating template with auth='token' and no valid tokens

Closes #128
Includes acceptance test for both creation and update