Update editor.js
Update editor.js

Add three functions.
1) To load the CSS file required for syntax highlighting
2) To replace the editor and result text areas with CodeMirror syntax highlighted ones
3) Function to set the height of the CodeMirror areas to the maximum the screen will allow. It's not as good as being able to resize but I think it's a good compromise.

Amendment to openQuery so that the syntax highlighted version gets updated when a query is opened.
joansmith/basex,dimitarp/basex,joansmith/basex,drmacro/basex,JensErat/basex,JensErat/basex,JensErat/basex,JensErat/basex,dimitarp/basex,dimitarp/basex,vincentml/basex,BaseXdb/basex,BaseXdb/basex,drmacro/basex,dimitarp/basex,JensErat/basex,vincentml/basex,BaseXdb/basex,JensErat/basex,vincentml/basex,vincentml/basex,drmacro/basex,dimitarp/basex,JensErat/basex,deshmnnit04/basex,dimitarp/basex,drmacro/basex,BaseXdb/basex,joansmith/basex,drmacro/basex,JensErat/basex,deshmnnit04/basex,vincentml/basex,dimitarp/basex,deshmnnit04/basex,vincentml/basex,deshmnnit04/basex,BaseXdb/basex,drmacro/basex,BaseXdb/basex,joansmith/basex,deshmnnit04/basex,dimitarp/basex,vincentml/basex,JensErat/basex,vincentml/basex,deshmnnit04/basex,deshmnnit04/basex,drmacro/basex,joansmith/basex,JensErat/basex,dimitarp/basex,BaseXdb/basex,vincentml/basex,drmacro/basex,dimitarp/basex,JensErat/basex,deshmnnit04/basex,deshmnnit04/basex,joansmith/basex,joansmith/basex,dimitarp/basex,JensErat/basex,joansmith/basex,dimitarp/basex,deshmnnit04/basex,drmacro/basex,deshmnnit04/basex,BaseXdb/basex,vincentml/basex,BaseXdb/basex,joansmith/basex,joansmith/basex,deshmnnit04/basex,vincentml/basex,drmacro/basex,drmacro/basex,drmacro/basex,BaseXdb/basex,BaseXdb/basex,joansmith/basex,BaseXdb/basex,joansmith/basex,vincentml/basex