security: Fix default identity bug

Refs: #1408

When we create an identity when default one is missing, we should set the new one as default.

Change-Id: I513d13dd47a54e718bde3b49ae00b4bb99c26427
tools: Add delete option in ndnsec

Change-Id: I392cd5704937068521f66051e92584ac90608012