Added posibility to override density on desktop

This is very handy to emulate screen sizes on desktop, without having to use the emulator. E.g. resolution to 800x480 and set overrideDensity to 252 to emulate a 3.7 inch phone display with the same resolution.
Merge pull request #1825 from hermith/master

Added posibility to override density on desktop