MEDIUM: acl: Change the acl register struct

This patch replace a lot of pointeur by pattern matching identifier. If
the declared ACL use all the predefined pattern matching functions, the
register function gets the functions provided by "pattern.c" and
identified by the PAT_LATCH_*.

In the case of the acl uses his own functions, they can be declared, and
the acl registration doesn't change it.
diff --git a/include/types/acl.h b/include/types/acl.h
index 908b0e5..c5c2824 100644
--- a/include/types/acl.h
+++ b/include/types/acl.h
@@ -92,6 +92,7 @@
 struct acl_keyword {
 	const char *kw;
 	char *fetch_kw;
+	int match_type; /* Contain PAT_MATCH_* */
 	int (*parse)(const char *text, struct pattern *pattern, char **err);
 	int (*index)(struct pattern_expr *expr, struct pattern *pattern, char **err);
 	void (*delete)(struct pattern_expr *expr, struct pat_ref_elt *);