Add max terrain level setting

Can now use a Vega preference to set the max terrain level to prevent
blurry high-level terrain from GeoServer.