security: Fix a bug of Validator, making checkPolicy methods pure abstract

This commit also includes fixes to unit tests.

Change-Id: If92569fc9dabaa08714d458e5195b6a83acb8701
security: Fix a bug in generating new key id.

Change-Id: Ibfae7249bea1e2cfefc66cf35e0d75b50867e4b3
util: fix "delete event in the same event" bug in scheduler.

Change-Id: I3e46b7d8af182f9cb207b0bb0946ee58473d0a70
fast-encoding: implement fast encoding for Name, NameComponent and FibManagementOptions, including test case.

refs: #1172

Change-Id: I80fa7cfbe7f9dee3c439febcc8f800c63a31eac3
security: Explicitly request password to unlock keychain

refs: #1224

Change-Id: Ia6589772e32b8dbbe57a49a2661fcf451e9b6dd8
util: Fix rescheduling and add test case.

Change-Id: Ic04a590a116083391b441338eed9a121e14852dd