Move player_layer_dirty to player.c

To make sure there's only 1 instance of
this flag.
Do not calculate player location if game is over
Add score counter

Player gets a point each time they land
on a new platform (except for the first one,
below the spawn point).

Also fix a small issue with dirty layer markings
and player initialization.