more generic way to setup a text view to edit json

Conflicts:
	MongoHub.xcodeproj/project.pbxproj
update
Merge branch 'master' into new-mongo-c-driver

Conflicts:
	MongoHub.xcodeproj/project.pbxproj
	Sources/ConnectionWindow/MHQueryWindowController.m