AUI-1286 Input with AUI button search cancel immediately loses focus

Hey @eduardolundgren

Here are those changes to AUI-1286 we talked about earlier.

The clear button now hides on blur. To accommodate this behavior, I had to change the event that fires the clear action to 'gesturemovestart'. The reason behind it, is that the button would hide before the user could click on it. Instead of delaying the .hide() and making the component feel very slow, I changed the event so that it feels quite a bit faster and more responsive to user input. It actually overall works much better now without using 'click'.

The A.soon that I wrapped around the refocusing of the element, is so that the refocus works on desktop devices. Because with doing the clear on 'gesturemovestart', meant that the click on a desktop would steal the focus again after we fired .focus().

Let me know if you have any questions