fixed get call pos
extract caret customizations out of tern

may have broken some things in the process....