Text support for CocoonJS

* Added determineFontHeightInPixels
* Calls said function if it detects navigator.isCocoonJS