Refactoring

This includes a simple refactoring (consolidating ResultType definitions from individual apps into BlocklyApps) and notes a likely bug in line notes.