SLING-3487: Resource added events missing when using new OakResourceListener. Minor code modifications and make sure to refresh the session for plain jcr listener as well

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