fixed #1712: Adding a class named "CCDevice" and getting DPI suport for Android, iOS, Win32, Linux, Blackberry.

Also fixed the issue of (http://www.cocos2d-x.org/issues/1672) "CCTableView is too sensitive on some devices with high density display."