Fixed discrepancies resulting from regression test

 * It seems the eliminateRepetition function wasn't called at all.
 * In some cases, the blocksize parameter was different from that of the
   actual spamsum.
Added regression test

The script from_git_repo.go turns any git repository into a regression
test suite for spamsum.