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/cfgparse.c b/src/cfgparse.c
index 0a0c315..0fc9bfe 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -80,7 +80,7 @@
 #include <proto/session.h>
 #include <proto/server.h>
 #include <proto/stream.h>
-#include <proto/stick_table.h>
+#include <haproxy/stick_table.h>
 #include <haproxy/tcp_rules.h>