Fix Dialyzer warnings

Getting a clean slate. Only remaining warnings may be:

```
Unknown functions:
  cluster_info:format/3
  cluster_info:register_app/1
```

Those will disappear if cluster_info is on the code path.