chess control visualization interface

Added javascript interface for calculating and visualizing which squares each side controls. Has 1 or 2 small bugs, but mostly done.