client: move FSM state generator to common place

Instead of ifup.c it should be provided by common client header file as a static inline routine.

wicked-client.h is a subject of a cleanup, but at the moment it is the common header file of client.