REORG: include: move stick_table.h to haproxy/stick_table{,-t}.h

The stktable_types[] array declaration was moved to the main file as
it had nothing to do in the types. A few declarations were reordered
in the types file so that defines were before the structs. Thread-t
was added since there are a few __decl_thread(). The loss of peers.h
revealed that cfgparse-listen needed it.
diff --git a/src/sample.c b/src/sample.c
index 828cf26..8fd043b 100644
--- a/src/sample.c
+++ b/src/sample.c
@@ -37,7 +37,7 @@
 #include <proto/log.h>
 #include <proto/proxy.h>
 #include <haproxy/sink.h>
-#include <proto/stick_table.h>
+#include <haproxy/stick_table.h>
 
 #include <import/sha1.h>
 #include <import/xxhash.h>