Added log method to Stats, logs FPS/MS to console

Also updated basic example to call stats.log() every 10 seconds.