adding getDevice for tensor, manualSeedAll and seedAll
Merge pull request #79 from torch/getDeviceAndOther

adding getDevice for tensor, manualSeedAll and seedAll