TST: adding doctests for thresholding as unit tests.
TST: add some tests with 2-D arrays for thresholding functions.
Merge branch 'pull-39' into master.

See https://github.com/rgommers/pywt/pull/39