Clear button added. Programmed by Michael.

The Pattern input grid now has a clear button that clears the pattern from the
grid and the web session. Tests not yet written. (Feature #120).
Added test for new clear button view. Programmed by Michael.

An automated test for the clear button JSON view has been added and
passes. (Feature #120).