Scale axis sizes properly for scripts.  Issue #703.
Merge branch 'develop' into issue703
Fix mathsize in HTML-CSS output so that it acts as a zoom (spaces, math axis, etc, are all scaled).  Issue #703.
Fix a few bugs with scaling in HTML-CS mode.
Fix scaling for SVG (similar to HTML-CSS fixes).  Issue #703
Move submenus to the left for RTL languages, and make menus open to the left as well.  Resolves issue #777.
Make zoom box fit inside closest parent with overflow clipping (if any).  Also make the clicable background fit the area properly (it is restricted to that parent element).
Handle resizing better (it flickered when shrinking windows), and take original size into account when changing visibility.
Make absolute sizes scale when zoomed.  Resolves issue #460.
Work around WebKit bug with SVG sizes.  Resolves issue #749.
Get border size properly in IE < 10.
Merge branch 'issue703' into develop.  Issue #703.
Merge branch 'issue777' into develop.  Issue #777.
Merge branch 'zoom-fix' into develop.   Issues #749, #460, #423.