Set Emacs bindings to use Ctrl+P and Ctrl+N for previous/next history

Use Ctrl+P and Ctrl+N for previous/next history, as is standard in Emacs mode in most unix browser. This appears to leave the UpArrow/DownArrow functionality intact.