Add testing of fleetctl actions over ssh

Two things here:
1. Move functional testing code around
2. Add bare-minimum functional tests for `fleetctl journal` and `fleetctl status`.