Fixes #1478 - Append new sLog when reloading in set command.

* Migrate weak reference into logger class so we can test clearing it.
* Ensure new state.log is propoagted into settings on `set` command.
* Fix set test so that it ensures the sLog is relatively stable when
  reloading on set command.
Add PR notes.
Merge pull request #1486 from sbt/fix/issue-1478

Fixes #1478 - Append new sLog when reloading in set command.
Fixes NullPointerException during update. Fixes #1484