mod: cursor finished, add to inputbox
fix: handle default text in inputbox
mod: delete debug lines in inputbox.lua
fix: remove page number checking in displaying TOC

Former showTOC() method checks the page number in each
entry and only display entry whose page number is greater
than the previous one. However, I think this is too
"clever", we should better leave the TOC untouched to keep
consistent with other pdf readers.
fix: clear input_text before input result return
add: POC getPageText method in djvu.c
fix: bug in page text table construction
POC of text highlight in current page!
allow easier customization of toolchain for libdjvu
mod: rewrite highlight feature

waiting for integrate test with cursor support
Merge branch 'cursor' into djvu-highlight
fix: handle -1 index when deleting characters in inputbox
highlight with cursor demo
removed obsolete page rotation handling, closes #70
first demo for pan by page highlight
separate DC out of pdf.c and djvu.c (cleanup)
fix a Lua 5.0 syntax that was deprecated in 5.1

luaL_reg is now renamed to luaL_Reg. Lua 5.2 does not know about
the old name anymore, Lua 5.1.x had backward compatibility.
draft commit, test implementation
Merge remote branch 'hwhw/master'

* hwhw/master:
  fix a Lua 5.0 syntax that was deprecated in 5.1
  separate DC out of pdf.c and djvu.c (cleanup)
  removed obsolete page rotation handling, closes #70
  allow easier customization of toolchain for libdjvu
  fix: remove page number checking in displaying TOC
  fix: handle LPGBCK and LPGFWD in selectmenu
forgot Makefile change when factoring out drawcontext