NDN: Fix bug in registerPrefix to actually use the flags if supplied.  Default to 3.

Change-Id: I573b3826cdc924077c8ca8dd1020a4788bd0616d
encoding: Removed unimplemented TextXML encoder.

Change-Id: I6cdfeff1e9158d8a8cf846d2563dadea2fd797a1