Env tests

Two things, environment tests that check:

* is postgres accessible locally, remotely and from a moi submission
* is redis accessible locally, remotely and from a moi submission
* and moi of course

The postgres and redis are independent of moi, and the remote tests are independent of moi.

The other thing added is a script level method to dump moi job information so that tracebacks are more human readable

direct -> directly ?