Extract the isMobile test in its own separated package

I also used this (hacky) feature in one of my website, so I guess it's generic enough to put it in its own meteor package.