Loads sql code from datasource into source form

This puts SQL from a postgis or sqlite datasource back into the CodeMirror pane. Without this things load up fine, but if you save anything you would overwrite your `data.yml` with oops no more SQL.