export cc.Device to lua for those developers who need getDPI() function.