Added XDPI / YDPI support

Added support for modification of xdpi / ydpi.

Some devices wrongly report their xdpi and ydpi density. As a result some applications read the wrong xdpi, ydpi values and wrongly calculate the physical size of the screen.

Having the ability to change xdpi and ydpi can fix this.