Resolve symlinks when locating tern.el

Allows me to symlink tern.el into my Emacs directory and the `bin/tern` will
be correctly located.