Application Framework and Survey Data Pane

More work on the application framework, plus a simple tree view pane showing survey lines.  This is ready to merge, I think.

There is currently a gap in the way that menu interactions on the SurveyDataPane's tree work - they need to be adjusted to go through the Undo system, but that's a moderately large piece of work, and perhaps lower priority than other features.