nunaliit2-js: Implement dynamic clustering algorithm, where small lines
and polygons are turned into clusters. However, large lines and polygons
are left unclustered.

Issue #152