added isLocal() test function for calculating  'useJavaSaver' and 'readOnly' flags

https://github.com/TiddlyWiki/tiddlywiki/issues/139