Fix #292; Use a better test to determine if a link is selected

I've written a somewhat better implementation of the Link.selected(). Along the way, I've also made it so that it matches links without the view @@ markers in them.

Two issues:
- [x] All urls that end with a slash '/' will match Links that have an empty '' name. To me this seems natural
- [ ] Link.selected() should be removed, as it's already implemented in LinkBase.selected()?