fix keybindings when in iSSH on iPad

issh and my ipad keyboard send odd terminal signals for some of my more frequent commands. restore them with a translation map.
activate ag mode, if it's installed
setting up path from shell helps emacs find ag
mm files open in objc-mode because there's no objc++-mode
.h files can be opened in objc-mode, if they have an interface attribute