Replaced the user of $.browser with feature detection for focusin focuso...

$.browser.msie is currently used to detect if a browser supports focusin. This $.browser has been removed to encourage feature detection instead of browser detection.

The change basically calls focus on a test element and checks to see if focusin is triggered. Code was taken from StackOverflow and some tweaks were made.