Tidy up the new build script for examples test and result display.

See tracker item 2729. 

Also, fixed the json files for reaction diffusion examples. See tracker item 3301.