Daemon: json-cpp: fix fail if "expected int, but obtained string"
Daemon: fix hang-up if isn't exist configdir
Daemon: fix crash, catch exception