face: Fixing small bug: after unregistering prefix, close transport if
there are no outstanding interests and prefix table is empty

Change-Id: Ie1a121fb34dfdeb10258e1ac46a8be1c9b7cdca9
management: Fixing regression with ndnd prefix/face registration

The previous commit tried to introduce a cheat to obtain ``ndndid`` from
the name of the returned Data packet, requested using
'/%C1.M.S.localhost/%C1.M.SRV/ndnd/KEY'.  The problem was that the
component in the Data packet contained an extra prefix (%C1.M.K%00),
which should have been stripped out.

Change-Id: I36ef2e566ea155dc86cd13412fc26cf7669dbf24
encoding: Removing unnecessary explicit instantiations of wireEncode

I suspect this was causing problems when compiled with gcc-4.2

Change-Id: Iab9a7a3258ba1c6062ff665eca42e61acf7ebf84