pib: Adapt code into ndn-tools conventions

Changes include:
1. license boilerplate
2. include guards
3. test suite names
4. return value of main function
5. README.md

Change-Id: I14289402475b591d7cdce7390cec5e3c0b6befe5
Refs: #3018
diff --git a/tools/pib/README.md b/tools/pib/README.md
new file mode 100644
index 0000000..0f87682
--- /dev/null
+++ b/tools/pib/README.md
@@ -0,0 +1,12 @@
+# ndn-pib
+
+**ndn-pib** is a service to manage the public information of keys (e.g., identity, public key, and
+certificates). It provides a query interface to local applications for lookup and update this
+information and also publishes certificates in the network.
+
+Usage example:
+
+1. start NFD on local machine
+2. execute `ndn-pib [-h] -o username -d /database/dir -t tpm-locator`
+
+For more information, consult the manpage.