Allow the state_path to be overriden by the commandline/config file

Signed-off-by: David Scott <dave.scott@citrix.com>