RF: use == instead of `is` for comparision

From comment by Eric L.
BF: define BALLS as None when data missing

``test_scripts.py`` imports BALLS, so we we should define it even when
it doesn't point to data.
Merge pull request #267 from matthew-brett/master

MRG: expanding, rethinking mmap'ing

Expanding the tests for the bugfix suggested by @MichielCottaar

Work out the previous logic for file mapping broken for a long time by using Openers.
NF+TST: add mmap keyword to array_from_file

Add memory mapping keyword to array_from_file getting ready to add this
to the image loading API.
NF: add mmap keyword to ArrayProxy class

Give array proxy class ability to tune memory mapping via `mmap`
keyword-only argument.
NF: add mmap keyword for Analyze image types

Allow specifying mmap flags when loading Analyze-type images.
NF: top-level load passes on keyword arguments

Check this works for mmap keyword argument to top-level load.
RF: refactor arrayproxy tests for re-use

I want to use the arrayproxy tests for other ArrayProxy objects,
particularly the PARRECArrayProxy. Refactor to make this easier.
RF: refactor image mmap test for re-use

Refactor image arrayproxy test mixin to make it easier to deal with the
case where we can't easily make a new image from scratch, and we might
want to use some example image instead.
NF: add mmap keyword to PARREC with tests

Use refactored tests to test PARREC mmap interface.
DOC: rewrite docstrings using `infile`

I copy / pasted docstrings leaving the original argument name `infile`,
for methods / functions where this is not the argument name.  Fix.