Refactored FSM shutdown code to separate state machine callback

Signed-off-by: Paul Colomiets <paul@colomiets.name>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fixes documentation link in README

Previous documentation link was broken, I fixed it.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Dylan Socolobsky added to AUTHORS file

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fix race condition in surveyor

Signed-off-by: Paul Colomiets <paul@colomiets.name>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>