Get TiddlySaver working again with 1.7_25

These changes fix the new JVM fail because getCodeBase() now returns empty if running in browser.

Also fixes a deprecated call, renames the variables affected by the main fix to reflect their new purpose, and updates some comments and javadoc entries.