Update datasetplugin.py

Modified code for 2D dataset plugins, so that getDataset for 2D will also copy edges and centers.