Add TerrainInspector app.

A simple application with a handful of features for debugging terrain.
![image](https://f.cloud.github.com/assets/924374/920643/1e603a40-fee2-11e2-8c1c-f77ba456dc3e.png)

This pull request also includes some minor changes to the underlying engine to support turning wireframe mode on and off dynamically.