encoding/tlv: Updating type assignment and fixing test cases

Type assignment now reflects the latest NDN-TLV spec.

Change-Id: Ibcd73a81ac72ebbd2897006f49518156aa9981a3
diff --git a/include/ndn-cpp/encoding/tlv.hpp b/include/ndn-cpp/encoding/tlv.hpp
index fabf571..dfa11fe 100644
--- a/include/ndn-cpp/encoding/tlv.hpp
+++ b/include/ndn-cpp/encoding/tlv.hpp
@@ -24,30 +24,30 @@
 struct Error : public std::runtime_error { Error(const std::string &what) : std::runtime_error(what) {} };
 
 enum {
-  Interest      = 0,
-  Data          = 1,
-  Name          = 2,
-  NameComponent = 3,
-  Selectors     = 4,
-  Nonce         = 5,
-  Scope         = 6,
-  InterestLifetime          = 7,
-  MinSuffixComponents       = 8,
-  MaxSuffixComponents       = 9,
-  PublisherPublicKeyLocator = 10,
-  Exclude       = 11,
-  ChildSelector = 12,
-  MustBeFresh   = 13,
-  Any           = 14,
-  MetaInfo      = 15,
-  Content       = 16,
-  SignatureInfo = 17,
-  SignatureValue = 18,
-  ContentType   = 19,
-  FreshnessPeriod = 20,
-  SignatureType = 21,
-  KeyLocator    = 22,
-  KeyLocatorDigest = 23,
+  Interest      = 1,
+  Data          = 2,
+  Name          = 3,
+  NameComponent = 4,
+  Selectors     = 5,
+  Nonce         = 6,
+  Scope         = 7,
+  InterestLifetime          = 8,
+  MinSuffixComponents       = 9,
+  MaxSuffixComponents       = 10,
+  PublisherPublicKeyLocator = 11,
+  Exclude       = 12,
+  ChildSelector = 13,
+  MustBeFresh   = 14,
+  Any           = 15,
+  MetaInfo      = 16,
+  Content       = 17,
+  SignatureInfo = 18,
+  SignatureValue = 19,
+  ContentType   = 20,
+  FreshnessPeriod = 21,
+  SignatureType = 22,
+  KeyLocator    = 23,
+  KeyLocatorDigest = 24,
 
   AppPrivateBlock1 = 128,
   AppPrivateBlock2 = 32767