making the deviceTodevice copies async

fixes #46 

@clementfarabet can you review and pull? All tests in cutorch and cunn pass except that non-contiguous copy (which was failing before).