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