testGetTile() checks against getPlane(). See #11315
Update test for py.test
Add swapIfRequired to getTileDirect (Fix #10581)

The other `get*Direct` methods all contain a call to
`reader.swapIfRequired()`. The same logic in the non-
direct methods is handled by a call to `setOrder` on
the newly created `PixelData` object.
Prevent double swapping of tile bytes

Each of the `get*Direct` methods now call
swapIfRequired. Non-direct methods should
not call them since double swapping could
occur.
Modify testGetTile to use gatewaywrapper from fixture.
Set global min/max according to pixel type. (see #11840)
If invalid interval set it to range wrt pixels type
Worked around method_decorator problem with custom getattr

This addresses the fact that django's method_decorator does not cope
with argumented (or instantitated at all) decorators.

This can and should be removed if upstream changes make it possible to
do so.

References:

The python bug (fixed in 3.3+ only, not backporting) http://bugs.python.org/issue3445
django cache_page fix: https://code.djangoproject.com/ticket/13093
django handling missing attributes: https://github.com/django/django/blob/c3aa2948c6c14862407501290571f858ccf45b07/django/utils/decorators.py#L73
django bugs: https://code.djangoproject.com/ticket/21513, https://code.djangoproject.com/ticket/13879
merge dev_4_4 -D org -I include -E exclude: PR 1690 (Webfigure TEMP)
merge dev_4_4 -D org -I include -E exclude: PR 1805 (Upgrade ICE jars to version 3.5.1 (4.4))
merge dev_4_4 -D org -I include -E exclude: PR 1819 (Update dev_4_4 submodules)
merge dev_4_4 -D org -I include -E exclude: PR 1831 (fix #10581: getTile byte-ordering issue (rebased onto dev_4_4))
merge dev_4_4 -D org -I include -E exclude: PR 1834 (#11723 adding FORCE_SCRIPT_NAME to the settings.py (rebased onto dev_4_4))
merge dev_4_4 -D org -I include -E exclude: PR 1839 (Error handling of tile image loading in PanoJS See #11709)
merge dev_4_4 -D org -I include -E exclude: PR 1843 (Disable chgrp event logs)
merge dev_4_4 -D org -I include -E exclude: PR 1848 (11709 tile access)
merge dev_4_4 -D org -I include -E exclude: PR 1850 (dev_4_4: Extract Django when it's missing or is the wrong version)
merge dev_4_4 -D org -I include -E exclude: PR 1855 (Fix SPW delete test timeouts (see #11540). (rebased onto dev_4_4))
merge dev_4_4 -D org -I include -E exclude: PR 1859 (Thumbnails dev 4 4)
merge dev_4_4 -D org -I include -E exclude: PR 1860 (Edit name dev 4 4)