Pull tablet regex from Mobile Detect

This pull request includes:

1. An update to the tablet regex (provided by Mobile Detect).
2. A rake task that updates our regex from the Mobile Detect github repo.
3. A slight refactor to pull the tablet stuff to its own module.