Ability to run a single test from the command-line

Plus a bunch of other stuff, see the commit titles for what else is changed.