gen-module.bash now appends rather than overwrites.
Fixed include dirs for basic-editor-prototype.
Terminal and rough architecture update.

- Split modules into windows- and posix-specific.
- Posix terminal is put correctly into raw mode.
- Exiting is now handled by C+q, as is proper.
Temporarily bashed signal handling until we need it.
Added sized and default int types to env.h.
Wrapped main in try/catch(...) block.
Separated raw terminal reads into own layer class.
Added more gcc build flags.
Working towards decoding raw terminal sequences.

We need a DFA. The current hackery is getting messy, so I'm going to
make a project dedicated to just implementing the DFA.
Fixed random compile error.
Added dfa PoC.

This dfa will be used to decode terminal input events.