added statistics query reading metadata only
Replaced cumulative sum for histogram computation (requires data
access!) by frequency*binID-logic to access catalog data only.
merge added LOGGER message in depricated getReferences method
Migrate changes from bitbucket to github.