cutorch.renorm

This PR is aligned to the commensurate torch PR https://github.com/torch/torch7/pull/42. It includes unit tests.