add isMobile service and tests
fix index.html
fix tests
Merge pull request #714 from maraoz/ref/isMobile

add isMobile service and tests