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/tests/wscript b/tests/wscript
index e92ab29..79f4fb0 100644
--- a/tests/wscript
+++ b/tests/wscript
@@ -7,4 +7,5 @@
                 name='unit-tests',
                 source=bld.path.ant_glob('**/*.cpp'),
                 use='ChronoSync',
+                includes='..',
                 install_path=None)