Add a preflight-check mode to the server

0. Add a bin file to run the server in this mode
1. In this mode, server does not daemonize or listen.
2. Sole purpose is to ensure db and apply the configuration