updated erddap_table to be able to use disk and memory fxns
added cache checking to erddap_grid and erddap_table so they get cached versions if available