frontends: optimized SDL video scaling.
main: optimized clock ticking (now using an array instead of a list for clocks).
main: implemented variable tick count.
main: added bit operation helper functions.
main: machines now handle their own private data.
frontends: added color structure definition now used in get/set_pixel functions.
nes: rewrote PPU entirely to support cycle-accurate background rendering.
a