Make sure we respect the environment data dir.
Respect the environment logs dir.
Accommodate a missing .ssh directory.
Be more flexible on the init conf names.
Handle the missing nonce.txt case.
Set LogsDir for test.
Convert nil resources to empty strings.
Merge pull request #844 from ericsnowcurrently/backups-fix-paths

Fix backups paths.

Some of the hard-coded paths we are using for backups don't work for local provider.  This patch fixes that.  It also sets the stage for future work to eliminate the hard-coded paths completely.

Most notably this patch registers a new resource on the API server.