Modified logging to append cache as child

Method:
* Create a div per cache dump, give it a unique identifier and set it's
innerHTML as the cache contents.
* Append the div as a child to consoletextarea.

Massive performance boost. Apparently a lot of the work of the
.innerHTML += x is actually destroying all the elements before
recreating them again. I profiled this against PSTG with death disabled
and I went from 4.3mins total to 39s total with verbose logging. In
fact, as far as I can tell, the performance penalty of having verbose
logging enabled is now negligible. Even taking out the times repeated
summarisation was only 49s total, and this is compared with 4.3mins for
the summarised .innerHTML += version.
Merge pull request #144 from mechturk/console-optimization

Massive consoleDumpCache performance improvement
Merge pull request #147 from increpare/master

pull
don't log again-related stuff
don't create unnecessary canvasses
fixed a non-important error in the player
inlined
more caching
fixed editor bug
compiled
change had broken
http://www.puzzlescript.net/play.html?p=9682315

fixing (thouhg it breaks some other games)
compiled
added test
allow numerical shortcuts for color schemes
again reruns even if nothing other than a win is triggered
documenation for color indexing
compiled