REORG: server-state: Move functions to deal with server-state in its own file

All functions dealing with the server-state files are moved to
server_state.c.

srv_update_state() function was renammed to srv_state_srv_update().
3 files changed