Fix slicing

Fixed the custom slicing code (thanks to hpaulj on stackoverflow for
figuring out how to make slice objects work with h5py). Added save/load
functionality for my new singledatasets_extras parameter.