Merge pull request #1 from chrox/master

fix several local calls of Math.round
Merge pull request #334 from hwhw/master

Refactoring: Make globals local
Merge pull request #2 from chrox/master

add missing gettext and Menu module
Merge pull request #335 from chrox/master

add missing gettext and Menu module
Merge remote-tracking branch 'upstream/master'
add missing require for defining DEBUG
Merge pull request #337 from hwhw/master

add missing require for defining DEBUG in ConfigDialog
missing require() of infomessage in UIManager

require() must be done locally in order to not create circular dependencies
Merge pull request #339 from hwhw/master

missing require() of infomessage in UIManager
add missing require of gettext
Merge pull request #342 from hwhw/master

add missing require of gettext
set auto detect word gap in reflowing by default
highlight word from scratch instead of reusing rectmaps in reflowing mode
Totally revert the OCR in reflowed page to build 545.
And this should fix #309.
Merge branch 'master' of github.com:chrox/koreader