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