Bugfixes in identity_verifier

1. commit_record was not updating the in-memory record database. It does
now.
2. list_pending_requests was giving all records, regardless of status.
Now it only lists the pending ones.