Unique indices and validations that include realm_id

[MSP-10963](https://jira.tor.rapid7.com/secure/RapidBoard.jspa?rapidView=84&view=detail&selectedIssue=MSP-10963)

# Pre-verification steps
- [x] Release https://github.com/rapid7/metasploit-credential/pull/69
- [x] Update `Gemfile` and `Gemfile.lock` to released metasploit-credential

# Verification Steps

## msfconsole

- [x] `./msfconsole --environment development`
- [x] `irb`
- [x] `Metasploit::Credential::Core.destroy_all`
- [x] `exit`
- [x] `creds add-password user password realm`
- [x] VERIFY `creds` shows added password: 
```msfconsole
Credentials
===========

host  service  public  private   realm  private_type
----  -------  ------  -------   -----  ------------
               user    password  realm  Password
```
- [x] `creds add-password user password`
- [x] VERIFY `creds` shows credential with and without realm: 
```msfconsole
Credentials
===========

host  service  public  private   realm  private_type
----  -------  ------  -------   -----  ------------
               user    password         Password
               user    password  realm  Password
```

## specs

- [x] `rake spec`
- [ ] VERIFY no failures