For initial review

1. Changes to repeatTensor to allow for inplace syntax
x:repeatTensor(z,2,2)

2. Cleaned up older code to allow the following to work
size = torch.LongTensor{2,2}
x:repeatTensor(z,size)

3. Added tests