Persistent console history from dhewm3.

https://github.com/DanielGibson/dhewm3/commit/f4e68a6d91fec071ae9891956b6e81b3fb91dc44
https://github.com/DanielGibson/dhewm3/commit/e21fac03f8c689bb10e443239ec08e9ebd428b3b
Use 4 byte idDrawVert tangent and derived bitangent code from D3:BFG.
Use half float idDrawVert tex coord code from D3:BFG.
Use framework/File code from D3:BFG.