Merge pull request #158 from matthew-brett/dicom-kwargs-refactor

MRG: Dicom kwargs refactor

Renamed dicom_args to dicom_kwargs. Extended the tests of dicom_kwargs
Merge pull request #170 from matthew-brett/py3-script-fixes

BF: refactor scripts to run in Python 3

Moving towards common code-base

See errors at : https://travis-ci.org/matthew-brett/nibabel/jobs/6037076
Merge pull request #167 from matthew-brett/relax-rotation-threshold

MRG: Relax rotation threshold

Relax threshold for orthogonality of rotation matrix to deal with low-precision values in DICOM Image Orient Patient field.
BF: standardize stdout strings for testing

Windows tests were failing because of unexpected \r characters.
BF: fix test for repr of int16 on opposite order

Test failing on big-endian because little-endian platforms printed out
'int16', big endian printed '<i2'.
BF: fixing script test error on windows

Backslashes from the filename in the test were confusing the regexp;
test filename for equality and the rest using regexp.
ENH Add read_scalars parameter to freesurfer.read_label() (used in PySurfer)
Merge remote-tracking branch 'upstream/master'
BF Add parameter to freesurfer.read_label
TEST Simple validation of freesurfer.read_label behavior
BF Add correct parameters to test
Merge pull request #171 from effigies/master

ENH Add read_scalars parameter to freesurfer.read_label()
RF: use catch_warnings for checkwarn module

Simplify code, by not checking if new filters have been loaded on top.

The code was also causing errors in python 3.3 because we weren't
restoring warnings errors correctly.