Module to pad n-dimensional arrays by using different functions.
Currently have 'with_minimum', 'with_maximum', 'with_mean', 'with_median', 'with_linear_ramp', 'with_reflect', 'with_constant', and 'with_wrap'.  Includes
unit tests, docstrings, and doctests.  Based on a very old feature request at http://projects.scipy.org/numpy/ticket/655.
HACK: Make __array_priority__ = 1000.

This works around changes in the treatment of __array_priority__ that
were part of commit 32b32c2. Previously the rop's of the right hand
object were called whenever it had the __array_priority__ attribute
and was not an ndarray or derived thereof.  After the change the
object needed to have greater priority, in this case > 0. It isn't
clear that the new behavior is the correct one and if it is reverted
then setting __array_priority__ back to 0 will provide a test for that
decision.
BUG: The polynomial convenience classes let different types interact.

In particular for arithmetic where one could end up with a Polynomial
type with Chebyshev coefficients after an addition. It is unlikely that
that would be done on purpose.

The PolyDomain error message was also replaced by a TypeError with
an appropriate message. That seems like a better choice.
FEAT, API: Removed the PadArray sub-class.

The PadArray sub-class was previously created to keep track of the shape and
placement of the original array within the padded array.  There are other ways
to track the original shape.
API: Moved pad to be under the lib namespace.
FEAT, STYLE, API: Collection of additions, and some tidying.

* Change names from pad.with_* to pad_*.
* Added reflect_type (either 'even', or 'odd') keyword to pad_reflect.
* Added pad_edge function.
* Changed leading '__' to '_' for private functions.
* Added capablity for all keywords that previously required a tuple, to accept
  an integer.
* Fixed tests to use pad functions under the lib namespace.
STYLE: Passes the 'pep8.py' style script.
STYLE: Fixed style suggestions from pylint and pychecker.

* Added docstring documentation
* Changed some variable names to fit the pylint standard
* Shifted some calculations into called functions instead of having unused
arguements (bvec and avec)
FEAT, STYLE, API: Fixed problems found in review, add pad_symmetric and tests.

* Added pad_symmetric - similar to pad_reflect but includes edge values.
* Fixed pad_wrap, pad_reflect, and pad_symmetric to handle the situation where
  the pad_width is greater than the length of the axis.  These functions now
  just repeat their when they reach the other side of the axis.
* Changed misnamed 'matrix' to 'array'.
* Changed 'stat_len' to 'stat_length'.
* Improved docstrings to include a better description of 'pad_width' and
  'stat_length' and description of the situation where corner padded values on
  later axes are calculated from previously padded values.
* Added several tests.
DOC: Fixed docstrings.
STYLE: Moved from concatenate to resize.
Module to pad n-dimensional arrays by using different functions.
Currently have 'with_minimum', 'with_maximum', 'with_mean', 'with_median', 'with_linear_ramp', 'with_reflect', 'with_constant', and 'with_wrap'.  Includes
unit tests, docstrings, and doctests.  Based on a very old feature request at http://projects.scipy.org/numpy/ticket/655.
FEAT, API: Removed the PadArray sub-class.

The PadArray sub-class was previously created to keep track of the shape and
placement of the original array within the padded array.  There are other ways
to track the original shape.
STYLE: Various style and grammar changes.

* Edited and fixed docstrings to clarify meaning.
* Moved to ValueError instead of special Exception classes.
* Removed extranous comments.
* Module does not need to be executable.