working TH bindings
Merge github.com:soumith/torch.js