Resolve only names beginning with dot against referrerName

Review URL: https://github.com/google/traceur-compiler/pull/665

Closes #665.