Added apply_once_over_axes.

Also made files PEP 8 compliant.
File tidied up and improved Py2/3 support.
ImageGrid greatly improved. Deprecated fromarray.
DOC: Updated docs with new functions.