wrap the in-memory solution with an Iterator

this eases the transition to iterator-based solution
and still keeps the current solution working.
change jdbc driver
some improvements (e.g. method calls, DRY)
"improve" the pseudo iterator
Merge pull request #3 from matthesrieke/add-point-aggregation

Code review changes