Define wp_is_mobile() function

It's normally defined in `vars.php`, and some plugins / themes expect it
Merge pull request #1546 from wp-cli/1542-define-wp-is-mobile

Define wp_is_mobile() function