Initial implementation of hit-check-libs command

Use it as follows:

hit build -p something.yaml
hit-check-libs something


@aron, as requested, this is now an external script, separate from `hit`. It's a lot longer, since I had to duplicate some essential command line as well as initialization functionality from `hit`.

Currently this script only works on Linux.