Refactor and modernize namespace declarations

Move all unit tests to namespace nfd::tests

Delete unused header core/algorithm.hpp

Change-Id: I5591f0c5f3bb5db67f8b45fae95471f8a555ca68
diff --git a/tests/key-chain-fixture.cpp b/tests/key-chain-fixture.cpp
index de6feb6..21a6b9f 100644
--- a/tests/key-chain-fixture.cpp
+++ b/tests/key-chain-fixture.cpp
@@ -29,8 +29,7 @@
 
 #include <boost/filesystem.hpp>
 
-namespace nfd {
-namespace tests {
+namespace nfd::tests {
 
 using namespace ndn::security;
 
@@ -95,5 +94,4 @@
   return saveIdentityCert(id, filename);
 }
 
-} // namespace tests
-} // namespace nfd
+} // namespace nfd::tests