SLING-4014 - Sling Jobs do not get picked at times

- Fixed the ResourceHelper
- Fixed a small javadoc as well


git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1630086 13f79535-47bb-0310-9956-ffa450edef68