coord: added term coordinate system
coord: updated creation script
coord: added term to CMakeList
util: added integer division function

unlike c division, always rounds to -inf instead of 0
coord: added doc for term coordinate system
graphics: added check for 1024px texture support
util: added utf8_decoder
engine: first semi-working console commit

still a lot to do, but this is a proof of concept
Merge remote-tracking branch 'origin/master' into terminal

Conflicts:
	src/engine/util/misc.h
	src/main.cpp
console: fixed escape sequence processing
Merge remote-tracking branch 'origin/master' into terminal
console: updated testing code
console: bugfixes + unicode-to-stdout support

unicode codepoints >= 128 are now correctly printed to stdout on Buf::to_stdout
added a missing break; (SGR 39 would fall through to SGR 40)
terminal: example code now uses a pts

very very very alpha.
terminal: fixed buffer bug with \t
terminal: fixed handling of CUP CSI

y and x were swapped for CSI y;xH and CSI y;xf
VIM now mostly works
terminal: ignoring invalid ESC sequences
console: fixed handling of ^C and ^D
console: supporting more escape sequences

CR, CSI d, CSI e, 2-byte sequences
console: added special handling of last column

when a character is printed in the last column, the cursor
stays there.
relevant state variable is bool Buf::cursor_special_lastcol.
zsh prompt now works flawlessly.