add --quite option to allow easy integration

The client --quite will make the program in client mode to return numeric
state exit value, that is easier to use in programs than a status string.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
use state file version number

As the status file format is may change in future, as it did in previous
commit, the meaning of values must come with a version number telling
whether there has been changes.  The three first values must be from now
on, without ever chaning in order and space separate:

<server pid> <state value> <state file version>

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
make status string array size robust

Protect the string array not to overflow if someone changes strings in
f5gs.h definition.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>