[FIXED JENKINS-21394] Avoid irrelevant job queing while node is offline
[FIXED JENKINS-21394] Avoid irrelevant job queing while node is offline, unless slave is ondemand type
Added test for JENKINS-21394
[FIXED JENKINS-21394] Revised implementation based on feedback
[FIXED JENKINS-21394] Re-revised the commit. Creted a check for the size of clouds
Whitespace change only
[FIXED JENKINS-21394] Change based on feedback
Merge branch 'master' of github.com:jbrejner/jenkins-renamed
Merge pull request #1092 from jbrejner/master

[FIXED JENKINS-21394] Avoid irrelevant job queing while node is offline

Conflicts:
	test/src/test/java/hudson/model/ProjectTest.java
Noting #1092