payment: add search APIs for payments

This is similar to payment methods search.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
payment: add PaymentInfoPlugin#getKbPaymentId

This is required for payments search in plugins.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>