SLING-2841 :  Dynamic classloader is not set for first resource from the jcr iterator 

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1475793 13f79535-47bb-0310-9956-ffa450edef68
SLING-2840 :  JcrPropertyMap should returned correct array type for multivalue properties 

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

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1475815 13f79535-47bb-0310-9956-ffa450edef68
SLING-2842 :  Provide a way to get the ObjectInputStream for serialized java objects 

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1475855 13f79535-47bb-0310-9956-ffa450edef68
SLING-2842 :  Provide a way to get the ObjectInputStream for serialized java objects 

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1475856 13f79535-47bb-0310-9956-ffa450edef68
Add missing support for old binary properties.

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

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476077 13f79535-47bb-0310-9956-ffa450edef68
SLING-2827 : minor change in toString()

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476111 13f79535-47bb-0310-9956-ffa450edef68
SLING-2827 : several improvements/fixes:
 * TOPOLOGY_CHANGED is now sent with a delay after TOPOLOGY_CHANGING - this is to avoid 'event floods' during topology changes
 * after a TOPOLOGY_CHANGED event is sent, a heartbeat is triggered. This speeds up change propagation. Yet it is by no means
   the case that changes now propagate as fast as possible - it is still possible for them to propage only after the
   heartbeat-interval (for downstream connector-clients)
 * you can now configure a number of topology connectors - this replaces the 'manual' way of connecting in the webconsole
   since that is more confusing than helpful: connectors are now only created via config
 * announcements sent by topology connectors now carry a version for paranoia compatibility checks
 * connector servlet now accepts duplicate/loops but marks them as such - this information is also visible in the webconsole
 * connector requests are now PUT and DELETE (rather then POST), and are done using a url of the form 'connector._sling-Id_.json'
 * logger.debug wrapped in isDebugEnabled
 * a fix with properties changing (cannot do ModifiableHashMap.iterator.remove)
 * a fix with proper closing of a resourceResolver to avoid unclosed sessions

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476138 13f79535-47bb-0310-9956-ffa450edef68
SLING-2829 : Remove dangerous wait for async configuration option again - it's not needed

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476276 13f79535-47bb-0310-9956-ffa450edef68
SLING-2829 : Fix NPE in async handler

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476294 13f79535-47bb-0310-9956-ffa450edef68
correcting comma issues in annotations (from SLING-2829)

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476584 13f79535-47bb-0310-9956-ffa450edef68
SLING-2843 :  Launchpad plugin should check if configuration directory exists 

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476892 13f79535-47bb-0310-9956-ffa450edef68
Use latest launchpad plugin

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476893 13f79535-47bb-0310-9956-ffa450edef68
SLING-2829 : Correctly handle first run of background loader

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476894 13f79535-47bb-0310-9956-ffa450edef68
SLING-2829 : Sort instances correctly if there is more than a single cluster view

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1476981 13f79535-47bb-0310-9956-ffa450edef68
SLING-2829 : Be prepared to handle read failures in value map

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1477116 13f79535-47bb-0310-9956-ffa450edef68
SLING-2844 : ResourceUtil.isA() and findResourceSuperType() should check for null resource

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1477492 13f79535-47bb-0310-9956-ffa450edef68
SLING-2844 : ResourceUtil.isA() and findResourceSuperType() should check for null resource

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1477493 13f79535-47bb-0310-9956-ffa450edef68
SLING-2845 :  ResourceUtil.getOrCreateResource should catch PersistenceException when calling create 

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