fix bug in getPitch, returning half of ptich for 4bpp fb
Merge pull request #745 from houqp/new_ui_code

fix bug in getPitch, returning half of ptich for 4bpp fb
properly set up shadow buffer's pitch and bug fix on eink update

previously, counters never reach 0!
get correct screen width in Screen.lua
add more comments
Merge pull request #747 from chrox/new_ui_code

fix visible_area recalculate for manual crop in reflow mode
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code
Merge pull request #750 from houqp/new_ui_code

bug fix for einkfb.c and screen.lua
fix coordinate calculation for blitbuffer rotation
Merge branch 'new_ui_code' of github.com:hwhw/kindlepdfviewer into new_ui_code
Merge pull request #751 from houqp/new_ui_code

fix coordinate calculation for blitbuffer rotation
KUAL extensions added (since kindlepdfviewer will soon support all devices)
remove unrequired scripts
update to direct referencing of scripts.
SIDE-EFFECTS: this means /mnt/us/kindlepdfviewer/kpdf.sh is now the REQUIRED location as opposed to preferred.
add extensions directory in customupdate
remove kite in favor of KUAL
Merge pull request #752 from houqp/new_ui_code

pick KUAL support files from master
move adjustGesCoordinate from Screen to GestureDetector

also adjust swipe direction according to screen view mode
remove onGesture method overload in BBoxWidget

since ges pos can be acqured by the second argument
move toggleswitch into separate widget file

also remove onGesture method reload in ToggleSwitch widget