fix decimal rescale values causing Decimal data frame
ENH: Added funtions to transform orientations.

Also added funtion to get orientations from axes codes.
DOC: Fixed typo in axcodes2ornt docstring
BF: ornt_transform was returning the inverse of the correct orientation.

Also fixed string formatting bug when an invalid orientation is passed in.
adding comment about float casting
Merge pull request #146 from moloney/enh-orientations

ENH: Added funtions to transform orientations.

Work out orientation affine / coding to map from one voxel coding to another.

Calculate orientation coding corresponding to given axis codes.
BF: doctest output not correctly formatted

Doctest result for `axcodes2ornt` was correct in content, but not
identical to the doctest output.
enh: allow for additional keyword arguments to be passed to pydicom
NF: context to run command in given directory

Useful when you want to use ``InTemporaryDirectory`` but you are still
debugging; do a temporary replacement with ``InGivenDirectory`` and pass
a known directory for the test, and look at the products there, before
swapping back to ``InTemporaryDirectory`` when the tests are fixed.
RF: allow command runner to also set path and test

The command runner did not take into account that we'd have some scritps
to test.  Add ability to add script directory to path, and make some
tests.
BF: add pass of script path to sdist_tests

I wasn't passing the script path and therefore not collecting the newly
installed scripts.

The scripts need the package to be on the python path for their
subshells, so we also need to set PYTHONPATH for script calls.
RF: allow passing of label and doctests to testers

Useful if we want to run a subset of the tests.
RF: don't use setuptools for bdist_wininst

Setuptools not necessary; the command is in distutils.
fix: changed to specific keyword arg and added test
py3: compatibility fix
Merge pull request #147 from satra/fix/mosaicreader

ENH: allow for additional keyword arguments to be passed to pydicom
BF: fix for dtype printing doctest failure

Fix by doing an ellipsis for the dtype location
TST+DOC: docstrings and tests for InGivenDirectory

Funnily enough, InGivenDirectory was deleting the contents of the Given
directory, which is a bit error prone.  Don't do that, and add test
module to test behavior.
BF: use realpath to make directory name canonical

Getting travis build errors that might be to do with symbolic links
Merge pull request #153 from matthew-brett/affine-doctest-fix

BF: fix for dtype printing doctest failure



Fix by doing an ellipsis for the dtype location

Fixes issue gh-151