Updates:

- Fixed cocoon.php. Previously was generating an js error so the gameoptions were not being used.
- When resizing the stage, the scale now is only calculated if it targetting a browser.
- StateManager now logs when changing states.
- Portion of RebuildImage in TextureLibrary moved to Common Utils and renamed to 'convertToBase2'.
- Base2 sizes are now a static property on the Common Utils.