Enable latest monolog and debugbar packages

Run composer update to get latest updates.
Minor cleanups
More cleanups, mostly scrutinizer issues