method to detect tablet

In this commit density dp is used to identify tablet.
Considering anything equal and above 600dp as tablet.
http://developer.android.com/guide/practices/screens_support.html#ConfigurationExamples