Add tests for geometry code.
Added test scaffold for State and ScreenBuffer.
Fleshed out State tests.
Minor polish of ScreenBuffer.
Extracted blend methods to their own file.
Updated scroll blending to go in both directions.
Remove some data copying.
Fixed jslint warnings and enabled multifile compression.
Enable specifying blend function in HTML.