Implement enough natives to get all the way past refresh0 and thus into the event loop

Unfortunately, even though it is calling text measurement utilities and
drawString, for some reason it just draws the string “…” over and over
again and the x, y parameters passed to refresh0 have strange values.
Implement render(Image) properly and implement anchoring
Implement fillRect, drawRect and drawChars, and we see Hello World!
don't crash on null strings
Properly pop this pointers off the stack
Use withAdjustedPosition instead of anchorXY; remove quote marks in object literal
Merge branch 'master' of https://github.com/andreasgal/j2me.js
Remove unneeded outX and outY
Use a less sucky way to convert from [C to a js string
Draw taking transX and transY into account
Implement setting pixel colors properly
Bugfix
Set the fillStyle in drawString too; fix argument names in refresh0
Add poll0 native
Make sure to pop this off the java stack for non static natives in midp.js
add jars and midletClassName URL params
add stub DisplayStateListener class
Merge pull request #9 from mykmelez/url-params

add 'jars` and `midletClassName` URL params
Merge pull request #8 from marco-c/add_poll_native

Add poll0 native
Merge pull request #7 from fzzzy/master

Implement enough natives to get all the way past refresh0 and thus into ...