Added ability to get/set the toggled rotation state from a layout.

- `fe.layout.orient` is deprecated and replaced with `fe.layout.base_rotation`
- Added `fe.layout.toggle_rotation` attribute to get/set the toggled
  rotation value.
- ( fe.layout.base_rotation + fe.layout.toggle_rotation ) will give you the
  actual rotation of the layout at any given time.
Added handling of the Home and End keys when editting text