key-locator+signature: Extensions and corrections

Change-Id: Ib17804874d7ac69feeac7972fa4e266d5ae61ad0
diff --git a/include/ndn-cpp/key-locator.hpp b/include/ndn-cpp/key-locator.hpp
index 3f53ef4..57b5f4b 100644
--- a/include/ndn-cpp/key-locator.hpp
+++ b/include/ndn-cpp/key-locator.hpp
@@ -23,12 +23,16 @@
     
     KeyLocator_Unknown = 255
   };
-  
+
+  inline
   KeyLocator()
     : type_(KeyLocator_None)
   {
   }
 
+  inline
+  KeyLocator(const Name &name);
+
   inline const Block& 
   wireEncode() const;
 
@@ -62,6 +66,12 @@
   mutable Block wire_;
 };
 
+inline
+KeyLocator::KeyLocator(const Name &name)
+{
+  setName(name);
+}
+
 inline const Block& 
 KeyLocator::wireEncode() const
 {