Add LocalSite rooting for the SessionResource.
Review Request #1954 — Created Nov. 29, 2010 and submitted
Add LocalSite rooting for the SessionResource. This adds the local-site check, plumbs *args and **kwargs through get_links, and adds unit tests for the SessionResource (/api/session).