back out fix for #4265 and related follow on bugs

Basically reverts to sprint 26 except for

* remove jshint boss option
* restore appshell menu check

Fixes for #4369