Improved iOS position fix for dateinput

Improved UA sniffing to avoid poor calendar placement on newer versions of iOS. Improvement to calendar positioning for affected versions of mobile Safari (alters left position as well as top). This is a fix for jQuery Tools issue #962.