AUI-1173 Remove unecessary logical branches and dead methods
AUI-1173 Adding surface tests
AUI-1173 In order to keep the history scrolling fluid, the scroll position needs to be locked until content is fully loaded and surfaces painted

The problem is that behavior is incosistent through browsers. Blink and Webkit popstate event happens before scroll position updates, and on Firefox and IE scroll position updates before popstate event. If we assume the lock position is the same as the current win.page[XY]Offset on popstate, we should capture the next scroll tick, otherwise listens for the next scroll once to capture the history scroll position. For more information see discussion https://bugzilla.mozilla.org/show_bug.cgi?id=679458.
AUI-1173 Disable tests on browsers that don't support HTML5 History and increase some timeouts in order to work-around the asynchronous scrollTo behavior
AUI-1173 Yogi loader regenerate

Conflicts:
	src/aui-base/js/aui-loader.js