Initial commit for refactor. Moved all of the rendering code to the
init function.
Removed all code from render function that was not neccesary to
init function.
Converted canvas click-event listener to jquery. Click coordinates
on the canvas are now properly reported on click events.
Matchgame now properly reads clicks on canvas.
Cards now flip over when clicked.