Remove ji_screen and ji_clock global variables

- Replace JI_SCREEN_W/H with ui::display_w/h()
- Remove GfxMode class
- Move drawing code of ColorCurveEditor widget to onPaint()
- Rename ji_clock -> ui::clock()
Merge branch 'master' of git@github.com:aseprite/aseprite.git