use flags
renaming
adds simulator
firmware: cleanup, edit/add doc-strings
firmware: renames position constants
daemon: return if door is already locked
firmware: allways return state
daemon: small fixes, cleanup
daemon: set state "BUSY" in any case

to avoid having more than one request in the small gap until
sphincter returns "BUSY"
daemon: adds reset request
daemon: fix simulator