Refactored safeword_credential_list to prepare SQL itself.
Added check to validate db in safeword_credential_list and return either 0 or -1.
Added initial safeword_credential_list unit tests.