nprog now checks if emulator is running and gives a much clearer success
/ fail with a log file for the more verbose output.
Also buptest now won't run if emulator is running.
Add openocd CPLD flashing script for the old version (10.0-5) of openocd, rework interrupt handling a bit so that more software works, update buptest to work with the proto3 bitstream.