NOBUG: Fixed SVG browser compatibility
on-demand release 2.6beta+
MDL-41030 behat: Dock blocks compatible with both selenium and phantomjs
MDL-41030 Behat: Add support for waiting for javascript

This is so that phantomjs (which runs faster than selenium) can pass the tests.
MDL-41030 JavaScript: Convert remaining YUI2 IO calls to YUI3