Add souper-check tool

This tool is based on souperweb-backend.cpp, but it's meant to be run from the command line.