Set diagnostics connection string instead of as appsetting, send loglevels as string

Fixes Issue #1451 and other portal / powershell delta issues.

Acceptance criteria verified manually, not sure we can automate it. No affect on unit tests.