Use Device.js to determine mobile editor use

Ref #2570
- Adds new library, device.js to determine if the user is on an ios mobile
  or tablet.
Merge pull request #3157 from novaugust/device

Use Device.js to determine mobile editor use