only give a codemirror value if there is one. refs #262
Merge pull request #282 from mapbox/add-sql

Only give codemirror a value if there is one