Updated detect.js for IE 11 as well as Safari on Mac OS X

Since the userAgent string was changed in IE 11, that browser was no longer recognized as IE. 
Also noticed that Safari on Mac OS X was recognized as webkit, but not safari. Updated detect.js with new regexes and tests.