MEDIUM: Set rise and fall of agent checks to 1

This is achieved by moving rise and fall from struct server to struct check.

After this move the behaviour of the primary check, server->check is
unchanged. However, the secondary agent check, server->agent now has
independent rise and fall values each of which are set to 1.

The result is that receiving "fail", "stopped" or "down" just once from the
agent will mark the server as down. And receiving a weight just once will
allow the server to be marked up if its primary check is in good health.

This opens up the scope to allow the rise and fall values of the agent
check to be configurable, however this has not been implemented at this
stage.

Signed-off-by: Simon Horman <horms@verge.net.au>
diff --git a/src/server.c b/src/server.c
index efba257..a316daa 100644
--- a/src/server.c
+++ b/src/server.c
@@ -34,7 +34,7 @@
 {
 	const struct server *s = check->server;
 
-	if ((s->state & SRV_CHECKED) && (check->health == s->rise + s->fall - 1))
+	if ((s->state & SRV_CHECKED) && (check->health == check->rise + check->fall - 1))
 		return check->inter;
 
 	if (!(s->state & SRV_RUNNING) && check->health == 0)