Scaling scene to a size of player

* Refactor rendering process to use functions instead of methods
* Integrate rescaling to make scene fit the player + show black ribbons for different aspect ratio
* Tests for rescaling
* Page to tests embedding in iframe