Add test coverage of basic interrupt register functionality.

Fix some bugs that were in the interrupt register that the tests
actually uncovered.
Added gjs-coverage binary, GjsDebugCoverage object and tests.