FIX bestfirst decoder should also use np.intp

StructuredPerceptron raises an exception when np.int32 is used.
TST harden perceptron tests
FIX perceptron's verbose output

It was reporting the wrong loss. Fixes #8.