fix using sessionStorage

uses sessionStorage, and self.identifier as key. see comment about
possible alternatives.
(bug 4087) Refactor backend auth code.
adding checks for some backwards compatibility

does not actually implement behavior for old browsers (pre FF 3.0, for
example), simply prevents them from throwing errors like mad.
added window to be sure
Bug 4619: Use new dw-nonfree function to convert paid time
Basic layout changes and CSS for S2 EntryPage in site style
S2 comment pages, with some CSS cleaning
more tweaking
more tweaking
Some styling clean-up
now with actual modifications
more style tweaking
fixing a mis-commit
More styling changes
S2 comment page styling on Celerity, Lynx and Gradation
core2 CSS class labels for comment header labels and comment pagination
Fixes comment interaction links on ReplyPage
(Bug 4631) Use DW->home instead of $LJ::HOME

This makes sure we get a proper value even when we're not in web context
(e.g., when we're running a worker)
(Bug 4631) Explicitly use the LJ::Directories module

Worked fine in web context where we could rely on the module having
already been loaded, but we need to make sure to use it explicitly for
non-webcontext (e.g., when running workers)
(Bug 4631) Undo changes; these don't go far enough.