[FIXED JENKINS-8815] Fixed issue where CLI required giving Overall read permission to anonymous.
Added test unit.
Merge pull request #1005 from christ66/master

[FIXED JENKINS-8815] Fixed issue where CLI required giving Overall read ...

Conflicts:
	core/src/main/java/hudson/cli/CLIAction.java
Tidy up after #1005
Merge branch 'master' of github.com:jenkinsci/jenkins