SLING-3205 - factor out BundleListContentProvider to make it easier to test, and add tests. No functional changes so far

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