Ignore function declaration's id when finding references to local variables
Ignore function declaration's id when finding references to local variables

Closes #715

MarcelGerber/tern,albertinad/tern,emacsmirror/tern,othree/tern,marijnh/tern,othree/tern,emacsmirror/tern,ternjs/tern,emacsmirror/tern,fileability/tern,albertinad/tern,neoclide/tern,neoclide/tern,ternjs/tern,marijnh/tern,MarcelGerber/tern,neoclide/tern,othree/tern,fileability/tern,albertinad/tern,marijnh/tern,ternjs/tern,fileability/tern,MarcelGerber/tern