Easier test interface in gridTest.
Changed the class CollOfIndices to have device_vector as member variable instead of inheriting from device_vector. Added neccessary functionality for the class, and also a constructor from iterators.