Make 'ct upload' verify SCTs
Merge pull request #142 from AlCutter/verifysct

Make 'ct upload' verify SCTs
Reset the errno before relying on it in strtol.
Bound get-entries to what we have.

Fixes #138.