High scores and resetting

Dan,

Saw you wanted localStorage-based high scores and that was something I actually knew how to do (amazing!) so I went ahead and put it in. Pretty nifty! 

Also called detectEnd and resetGame properly when livesLeft == 0.

Cheers!
Dev