MEDIUM: server: extend refcount for all servers

In a future patch, it will be possible to remove at runtime every
servers, both static and dynamic. This requires to extend the server
refcount for all instances.

First, refcount manipulation functions have been renamed to better
express the API usage.

* srv_refcount_use -> srv_take
The refcount is always initialize to 1 on the server creation in
new_server. It's also incremented for each check/agent configured on a
server instance.

* free_server -> srv_drop
This decrements the refcount and if null, the server is freed, so code
calling it must not use the server reference after it. As a bonus, this
function now returns the next server instance. This is useful when
calling on the server loop without having to save the next pointer
before each invocation.

In these functions, remove the checks that prevent refcount on
non-dynamic servers. Each reference to "dynamic" in variable/function
naming have been eliminated as well.
diff --git a/src/hlua.c b/src/hlua.c
index 4ec28a0..ea9d31c 100644
--- a/src/hlua.c
+++ b/src/hlua.c
@@ -11759,10 +11759,10 @@
 			lua_close(hlua_states[thr]);
 	}
 
-	free_server(socket_tcp);
+	srv_drop(socket_tcp);
 
 #ifdef USE_OPENSSL
-	free_server(socket_ssl);
+	srv_drop(socket_ssl);
 #endif
 
 	free_proxy(socket_proxy);