JSONStore now creates its file with a more restrictive set of permissions

I believe this will cause PyPump to ignore any umask set in the environment.
However, I'm not too bothered about that.

Unit test has been added.

Fixes #112