Conflicts:
filechooser.lua
* merge rotate branch with search branch
* fix font display bug in font menu
not fully tested the new rotation implemention yet.
adjustFWKey() will change code event for five way keys
according to current rotation mode. Add this to the
input.waitForEvent loop and your UI can navigate properly
in different rotation mode.