added a clamp method for tensors.

This one goes out to all those who are sick of using `:gt()` and `:lt()` for all their clamping needs.

I'll post a cutorch version momentarily.