Update is_mobile to treat ipad specially. It is the only tablet that I know of that renders as a mobile device rather than a desktop, as it should. Tested on iPad, iPhone, Android Phone, Android Tablet, and Windows Phone
Conform to coding standards
Merge pull request #3403 from bloveless/2.2/is-mobile-ipad-tablet-fix

Perfect - thanks!