Fixed the detection of local files.

To run in out-of-jar mode, simply extract gossip/ and whatever other directories may be required from the JAR. Gossip will look for gossip/Gossip.image existence, and switch to out-of-jar mode if possible.

The feature obviously needs a bit more love :)
Merge branch 'master' into new-tools