Fix jshint issues
Change some instances of broadcastDebug to dump, thanks to the tests catching a problem
Add debug logging to sidebar app to help catch signout intermittent