AUI-1316 Can't pause carousel through button if pauseOnHover is true

The carousel's pause button wasn't working well when pauseOnHover was set to true and the menu was inside the carousel (which is the default configuration).

This is because hovering on the pause button would also hover on the carousel, pausing the slideshow. Because of this the user wasn't able to manually pause by clicking the button.

This fixes the issue by listening to mousenter and mouseleave events for the menu as well. If the mouse enters the menu after leaving the carousel's bounding box, that means that the menu is inside the bounding box itself. In this case we need to resume the slideshow so the user can use the buttons as expected. When leaving the menu to hover on top of the image again this pauses the slideshow as expected too.

There's another bug that was fixed here as well, which happens if the carousel is paused before the user hovers on it. In that case, when the user hovers out the carousel will be resumed, even though it was already paused before the hover action happened. I added a variable now that will make sure to only reume the slideshow on mouseleave if it was paused due to a mouseenter.
AUI-1316 Source formatting
AUI-1286 Input with AUI button search cancel immediately loses focus
AUI-1286 Altering tests
AUI-1316 Source formatting
AUI-1286 Yogi loader regenerate
AUI-1173 Reload content if history state doesn't belong to us

If we detect a popstate and the state is `null`, assume it is navigating to an external page or to a page we don't have route, then `window.location.reload()` is invoked in order to reload the content to the current url.
AUI-1173 Navigate method should return true if it's able to navigate to the specified path
AUI-1173 Improve surface demo
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
AUI-1173 Should not navigate when already at destination from link clicks and app.navigate call
AUI-1173 Adding more surface tests
AUI-1286 - Fixing alignment and failing test for ie10/11
AUI-1213 Use Bower to fetch dependencies
AUI-1173 Make surface tests to pass on phantomjs
AUI-1213 Source formatting