Donaldson-Thomas and Gromov-Witten theory of orbifolds and their resolutions