ci: compile-check installed headers

Script copied from ndn-cxx with minor modifications

Also, move tlv.hpp to detail/ and cleanup includes in common.hpp

Change-Id: I6240601f005c61bb3547bd5acf854200f3b13093
diff --git a/wscript b/wscript
index 6d8d476..788cf61 100644
--- a/wscript
+++ b/wscript
@@ -58,8 +58,8 @@
               cnum=VERSION,
               source=bld.path.ant_glob('src/**/*.cpp'),
               use='NDN_CXX BOOST',
-              includes='src .',
-              export_includes='src .')
+              includes='src/detail',
+              export_includes='src src/detail')
 
     if bld.env.WITH_TESTS:
         bld.recurse('tests')