dashboard/app: refactor config checking
dashboard/app: refactor config checking

Split a very long function into several smaller functions.

Update #538

xairy/syzkaller,xairy/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller,xairy/syzkaller,google/syzkaller,google/syzkaller,xairy/syzkaller