L1Cost CUNN implementation
Merge https://github.com/torch/cunn into l1-cost