Move favouriting code into the CachedSubject class.

Check for current user before adding a favourite.
Link up nav links to corresponding HTML elements.

Override internal document links to use spine routing.