Don't treat links to "#" as "/"

Breaks many places where "#" is placed as a dummy href and are handled through click events. It can be prevented with stopPropagation() but then it won't propagate to its parents. This fixes my case, but i'm not sure if it's desirable for others.
Proper fix
Merge pull request #285 from DVSoftware/patch-1

Don't treat links to "#" as "/"