verif: don't terminate instantly.
debugger: add a register cache.

Rather than performing a device access for every register access, cache
the values locally and only perform the writes when we resume execution
or reset.  This reduces latency when repeatedly reading or writing
registers.