Validate SSH keys when inserting them into the database

This way we can show an immediate feedback to the user if their key
is valid, or is unrecognized.

Signed-off-by: Shawn O. Pearce <sop@google.com>
10 files changed