Fix movement glitch and add timer/score

Fix movement glitch where character would sometimes not change
facing. Add timer to game. Add score to game, calculated from
remaining time on the clock at end of level.