refactor(registry): Drop unused method GetAllJobsByMachine
refactor(registry): Drop unnecessary requests in GetAllJobs
fix(fleetctl): update ssh.Execute to use a PTY

This allows `fleetctl ssh` to work as expected with interactive commands
(like `toolbox`, or even just `bash`).
This change also reworks the error handling to ensure the exit code of
commands run over SSH are correctly propagated back to the client.
Finally, the semantics for copying input/output streams to/from sessions
are cleaned up (IMHO).
refactor(ssh): rip out unused sync and DRY session logic
refactor(ssh): remove Channel since it's no longer used
refactor(ssh): remove unused commit
docs(ssh): update security documentation
feat(tests): add ./cover, move ./test.sh to ./test
Merge pull request #340 from jonboulle/340

fleetctl: ssh doesn't do PTY setup correctly
refactor(event): Use stop chan for EventStream
fix(server): Drop unnecessary call to EventBus.Listen
refactor(event): Use stop chan for EventBus
Merge pull request #375 from bcwaldon/stopchan

Use stop channels for event functionality
refactor(agent): Agent owns event init
refactor(agent): Engine owns event init
refactor(server): break apart server.New
Merge pull request #376 from bcwaldon/separate-event-code

Separate Agent & Engine initialization in Server
fix(tests): update .travis.yml to reference ./test
Merge pull request #370 from bcwaldon/simplify-registry

Simplify Job accessors in the Registry
Merge pull request #320 from jonboulle/320

docs(fleetctl): update security documentation