Add logic to check for unique ssh keys for a user

- Prevents the user from creating duplicate keys or keys with the same
  name.
- Update template to focus on "new key" tab when there are errors.