Take DPR from environment variable QTWEBKIT_DPR

Signed-off-by: Simon Busch <morphis@gravedo.de>
Also parse window attributes as part of the window features

In webOS we're using the attributes to supply a different window type when opening windows
through window.open.

Signed-off-by: Simon Busch <morphis@gravedo.de>