Added device query header file and file comments

I added the DeviceQuery.cuh header file for the device querying code,
and also added some file comments.