pib: Add PibDb

PibDb is a module for internal DB operation.

Change-Id: I7ac2bafcbaf53f21a0a4d3450b61c52542d0b445
Refs: #1529