Add test and cli for host commands

This adds the entry points for the commands to manage hosts: `setup`
for creating the initial configuration, `list` to see available hosts,
and `lock` to lock a given host.
Implement fetching of config and listing of hosts
Make tests work for now

The locking will be implemented at a later point in time.