Fixed the bprop in PairwiseDistance for pnorms other than one.  The gradInput has always been wrong it seems; the sign of the gradient is correct but the magnitude was wrong.  I also added a test in extra/nn/test/test.lua for nn.PairwiseDifference, which tests both the batch and non-batch code paths for a few different p-norms.