Add CodeEditor based on Scintilla.

Also fixed GCC4 build.
There's no need for an `Init()`, as there will only be one constructor ever.