Revise Keyboard home/end handling to resolve issues in FF/IE9 and IE6
Fix tree-related regression in Keyboard home/end logic
Merge pull request #425 from kfranqueiro/keyboard-end-fix

Keyboard end fix