debugger: add a Lua interface.

This allows some scripting through the target table.  We'll use a Lua
script to make something that is a bit more user friendly though.