Do not log in environments without `console`
Remove `debug` log option
Merge branch 'master' into log

Conflicts:
	package.json
[istanbul] Ignore else branch when there is no console