This patch is the first patch of a series of 4 to implement a zoomlevel function using the spatial index.
If you modify the spatial index of conf.xml to look like this:
Then during the indexation a ZOOM_LEVEL column will be added to the spatial index and it will be possible to return only nodes bigger than one of the defined zoom levels.
For example, using the query
will return all the Polygons which don't fit inside a BBox of 0.010 (EPSG)
This patch will parse the configuration file for zoomlevels and store them in the index in a LinkedHashMap sorted by value.