added a clamp method for tensors.
Merge branch 'master' of https://github.com/torch/torch7 into clamp
Merge pull request #81 from jonathantompson/clamp

added a clamp method for tensors.