Convert DHCP4 fsm state to enum to catch all states

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Replace if lists with switch to catch all DHCP4 states

Signed-off-by: Olaf Hering <olaf@aepfle.de>