[CLEANUP] stick_table: move pattern to key functions to stick_table.c

pattern.c depended on stick_table while in fact it should be the opposite.
So we move from pattern.c everything related to stick_tables and invert the
dependency. That way the code becomes more logical and intuitive.
diff --git a/src/cfgparse.c b/src/cfgparse.c
index 1abb1b7..d2f79f2 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -4873,7 +4873,7 @@
 				      curproxy->id, mrule->table.name ? mrule->table.name : curproxy->id);
 				cfgerr++;
 			}
-			else if (pattern_notusable_key(mrule->expr,  target->table.type)) {
+			else if (!stktable_compatible_pattern(mrule->expr,  target->table.type)) {
 				Alert("Proxy '%s': type of pattern not usable with type of stick-table '%s'.\n",
 				      curproxy->id, mrule->table.name ? mrule->table.name : curproxy->id);
 				cfgerr++;
@@ -4905,7 +4905,7 @@
 				      curproxy->id, mrule->table.name ? mrule->table.name : curproxy->id);
 				cfgerr++;
 			}
-			else if (pattern_notusable_key(mrule->expr, target->table.type)) {
+			else if (!stktable_compatible_pattern(mrule->expr, target->table.type)) {
 				Alert("Proxy '%s': type of pattern not usable with type of stick-table '%s'.\n",
 				      curproxy->id, mrule->table.name ? mrule->table.name : curproxy->id);
 				cfgerr++;