Added CodeMirror code editor

Please copy input.html, output.php, README and the assets folder. Keep the rest as it is.

If it causes any issues, just pull and merge separately.