Create Tern request with optionnal pos to manage for instance tern
hover. See demo at
http://codemirror-java.opensagres.eu.cloudbees.net/codemirror-javascript/demo/javascript-all.html