mrstats: Fix bug in print fields

min and max were switched around erroneously.
File permissions on open now set to 0666

Note this does not mean that these are the permissions that will
actually be allocated: this will be masked with the user's umask
beforehand. This is probably the most appropriate permissions to request
for file creation...
NIFTI1: fix handling of qfac = -1 cases in the qform write-out
MRView: ensure focus is centered on a voxel after reset

Addresses issue #85.
Merge pull request #92 from jdtournier/extend_force

All commands will now check for the presence of input files (not images, only other file types) before execution.
-force option now also applies to non-image file types.
If -force is not set, commands will also check for pre-existing files at file output paths (again, not images, only other file types), and terminate early rather than commencing execution and then terminating at the output stage.
Closes #82.
afdconnectivity: remove unnecessary 'typename' qualifiers

These were causing compiler warnings on MacOSX.
MRView: update screen after all pending events have been processed

This addresses issue #80, which was concerned with some serious lag due
to mouse events being processed one by one combined with slow (or even
not so slow) OpenGL refreshes. In this commit, all updateGL() calls are
now fed through to a single-shot QTimer connected to the GLArea's actual
updateGL() call. The timer is set with a zero timeout, which according
to the Qt documentation, guarantees it will be called once all events
have been processed.
configure: test static build configuration explicitly

Closes issue #79.
File::OFStream: Fix creation of output images with some formats

Presence of File::create() class was creating an empty file in many cases, which was then detected as a pre-existing file by the File::OFStream constructor, causing an error.
Bug introduced by pull request #92.
Also fixed writing to .mgh.gz format.
Fix pipe handler & File::OFStream to avoid race conditions