Move tern pointer back to main repo. Fix bug where tern executable wasn't on the path.