Allow namepaths in @name

As described here http://usejsdoc.org/about-namepaths.html not only a dot can be used to describe members. Also a # and ~ syntax is possible.
This is currently not parsed correctly and fixed with this commit.