Separated `mobile` devices from tablets by introducing `tablet` flag

Hi. I've changed the way mobile devices are detected. The lib will now correctly categorize mobile handsets and tablets. This is done by applying the `mobile` flag to mobile handsets and `tablet` flag to tablets.