Enable sqlite3 logging in keystore2

Add a trace callback and forward all log messages to the keystore2 logs
so that we catch any sqlite errors.

Test: keystore2_test, legacykeystore_test
Change-Id: I655a78153bc855678b9012b75dc522611e1ff671
2 files changed