Fixes for legend.  Re-added testing for bioclim string in layer metadata (not a great method but pretty handy).  Will remove once layer type is being returned via the api.