Add inspect feature for debug console.

Based on Marson's Developer Tools (http://te4.org/games/addons/tome/marson-dev)