3.1.0
Changes private function name from toggleStatsDisplay to toggleFPSDisplay; updates tests.
Updates System.loop() to accept a function as an argument.

Use to call a function every frame of the animation loop. Also
updates tests.