Add io.{h,c} for basic polymorphic IO
Add a terminal io

Which is basically the current chip8_render_to_terminal implementation.
Use it for debugging, as there is no input accepted currently.
Use the terminal io for rendering
Depricate and remove chip8_render_to_template