updated pta

fixed keydown binding to trigger on the contextual textarea instead of
all textareas
fixed bold, italic, indent, outdent, code, and code2 functions to
preserve selection direction
fixed home function to use the head of the selection instead of the
selectionStart when moving the cursor