Modified persistence.js to use more modern dom api.  In particular
this means it will properly incorporate <base href> directives.
Merge pull request #32 from karger/2013_08_23_resolver

Modified persistence.js to use more modern dom api.  In particular