Add geoserver getlegend --layer states command to close issue #7