Bug 224: Custom Python commands on variables

Run a custom bit of Python in the context of the specified debug target.

The Pretty Print is provided as an example and does something reasonably useful. DAWN is going to use this functionality to add a "Plot" sub-menu on the context menu allowing users to plot selected variables.

I also refactored test_debugger.py, where I added the new test.