cleanup gfx.js and stop leaking values into MIDP
fix remaining MIDP. references except Context2D
remove redundant code from midp.js
move DisplayDevice also into gfx.js