Add result checking to jac apps.

The jac apps return 0 when the solution is correct and 1 otherwise.
The testing is robust to changes in grid size but not to the number
of iterations.
Need to gather data for all ranks before doing results check
Add results check to jac 2 test case
Use the correct stride for jac2 results checking
Add rudimentary regression test Makefile
Simplify results check