Fix find_near_exonjunction's use of indices

It had been using a reversed index for the start of reverse primers,
but that was inconsistent with other functions, so I changed it to use the
forward index.
Implement semi-functional pair scoring

Now the full structure of the non-GUI portion of our program is sketched
out, all that remains is to optimize, and write the GUI.