Tabbedinterface: use DOM operations to create mobile view

* Preserves event handlers on tabbed interface panel content
* Prevents double-enhancement of elements by jQuery Mobile
* Improves speed of mobile view creation by ~50%.
* Fixes #1949
* Partial fix for #1861 (multimedia size calculation still needs to be addressed)