fix(etcd): handle empty etcd state

This handles the case where etcd returns 
```json
{"state": ""}
```
and the monitoring agent says 
```
Invalid metric line (line=metric state string )
```
by replacing an empty state with "unknown".

Also includes cosmetic fixes.