MINOR: actions: Use ACT_RET_CONT code to ignore an error from a custom action

Some custom actions are just ignored and skipped when an error is encoutered. In
that case, we jump to the next rule. To do so, most of them use the return code
ACT_RET_ERR. Currently, for http rules and tcp content rules, it is not a
problem because this code is handled the same way than ACT_RET_CONT. But, it
means there is no way to handle the error as other actions. The custom actions
must handle the error and return ACT_RET_DONE. For instance, when http-request
rules are processed, an error when we try to replace a header value leads to a
bad request and an error 400 is returned to the client. But when we fail to
replace the URI, the error is silently ignored. This difference between the
custom actions and the others is an obstacle to write new custom actions.

So, in this first patch, ACT_RET_CONT is now returned from custom actions
instead of ACT_RET_ERR when an error is encoutered if it should be ignored. The
behavior remains the same but it is now possible to handle true errors using the
return code ACT_RET_ERR. Some actions will probably be reviewed to determine if
an error is fatal or not. Other patches will be pushed to trigger an error when
a custom action returns the ACT_RET_ERR code.

This patch is not tagged as a bug because it is just a design issue. But others
will depends on it. So be careful during backports, if so.
diff --git a/src/hlua.c b/src/hlua.c
index 742acc7..8f46566 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -6225,7 +6225,7 @@
 	case HLUA_E_OK:
 		if (!consistency_check(s, dir, &s->hlua->cons)) {
 			si_retnclose(&s->si[0], &msg);
-			return ACT_RET_ERR;
+			return ACT_RET_DONE;
 		}
 		if (s->hlua->flags & HLUA_STOP)
 			return ACT_RET_DONE;
@@ -6257,7 +6257,7 @@
 	case HLUA_E_ERRMSG:
 		if (!consistency_check(s, dir, &s->hlua->cons)) {
 			si_retnclose(&s->si[0], &msg);
-			return ACT_RET_ERR;
+			return ACT_RET_DONE;
 		}
 		/* Display log. */
 		SEND_ERR(px, "Lua function '%s': %s.\n",
@@ -6268,7 +6268,7 @@
 	case HLUA_E_ETMOUT:
 		if (!consistency_check(s, dir, &s->hlua->cons)) {
 			si_retnclose(&s->si[0], &msg);
-			return ACT_RET_ERR;
+			return ACT_RET_DONE;
 		}
 		SEND_ERR(px, "Lua function '%s': execution timeout.\n", rule->arg.hlua_rule->fcn.name);
 		return 0;
@@ -6276,7 +6276,7 @@
 	case HLUA_E_NOMEM:
 		if (!consistency_check(s, dir, &s->hlua->cons)) {
 			si_retnclose(&s->si[0], &msg);
-			return ACT_RET_ERR;
+			return ACT_RET_DONE;
 		}
 		SEND_ERR(px, "Lua function '%s': out of memory error.\n", rule->arg.hlua_rule->fcn.name);
 		return 0;
@@ -6284,7 +6284,7 @@
 	case HLUA_E_YIELD:
 		if (!consistency_check(s, dir, &s->hlua->cons)) {
 			si_retnclose(&s->si[0], &msg);
-			return ACT_RET_ERR;
+			return ACT_RET_DONE;
 		}
 		SEND_ERR(px, "Lua function '%s': aborting Lua processing on expired timeout.\n",
 		         rule->arg.hlua_rule->fcn.name);
@@ -6293,7 +6293,7 @@
 	case HLUA_E_ERR:
 		if (!consistency_check(s, dir, &s->hlua->cons)) {
 			si_retnclose(&s->si[0], &msg);
-			return ACT_RET_ERR;
+			return ACT_RET_DONE;
 		}
 		/* Display log. */
 		SEND_ERR(px, "Lua function '%s' return an unknown error.\n",