Split into automata and web modules

The goal is to have one module that does the actual computation, and another that does the option parsing and updating of the canvas.
Misc JS style errors
Compute image row-by-row instead of all at once

This is eventually going to allow us progressive rendering: before, an entire image array-of-arrays was generated and returned wholesale; now, each line is built up iteratively. There's much more control about what gets rendered when.

This uses the assumption that a cellular automaton isn't going to care about anything higher than 1 level in its history, which for simple 1D cellular automata is true.
Move some parameter-parsing code into functions
Move wrapping code to its own function
Paint the image progressively

Instead of all-at-once. Only one reference (to the row above) is kept now, and the painting function only deals with individual rows.
Isolate canvas-resizing code
Merge branch 'refs/heads/reorg' into gh-pages