Update assumptions on platform-specific font loading

Change usage of ``dummy-text`` to adapt based on platform. It appears that the last time we addressed web font loading issues we didn't apply platform class names until after ``document.ready``. This is no longer the case (see brackets.js ``_beforeHTMLReady()``)

Fixes text measurement issue on mac where cached lines result in wrong cursor positioning after a mouse click. See #2768