Adding pprint.dims() and pprint.info() that return inline strings describing a tensor's dimensions and more complete info (dims, min, mean, max, type).

e.g.:
a=torch.FloatTensor(1,2,3)
print(pprint.dims(a))
print(pprint.info(a))

will print:

1x2x3
[1x2x3, min: 0, mean: 1.2856009280022e+31, max: 7.7135212106908e+31, type: "torch.FloatTensor"]
fixing calling init on instance rather than class, which was breaking the table printing
Merge pull request #1 from sermanet/master

Adding pprint.dims() and pprint.info()