BUG/MEDIUM: stick-table: Wrong stick-table backends parsing.

When parsing references to stick-tables declared as backends, they are added to
a list of proxies (they are proxies!) which refer to this stick-tables.
Before this patch we added them to these list without checking they were already
present, making the silly hypothesis the actions/sample were checked/resolved in the same
order the proxies are parsed.

This patch implement a simple inline function to in_proxies_list() to test
the presence of a proxy in a list of proxies. We use this function when resolving
/checking samples/actions.

This bug was introduced by 015e4d7 commit.

Must be backported to 2.0.

(cherry picked from commit be36793d1d86fc090abcdd90aa191a50267c3c38)
Signed-off-by: Willy Tarreau <w@1wt.eu>
diff --git a/src/action.c b/src/action.c
index 5454242..7684202 100644
--- a/src/action.c
+++ b/src/action.c
@@ -56,7 +56,7 @@
 		return 0;
 	}
 	else {
-		if (target->proxies_list != px) {
+		if (!in_proxies_list(target->proxies_list, px)) {
 			px->next_stkt_ref = target->proxies_list;
 			target->proxies_list = px;
 		}