Add a list_projects command to the API/CLI

In response to issue #355, add a new API call to list all projects
and the nodes connected to them.