Merge branch 'master' into enh/dcmstack

* master:
  Removed left over class
  PEP8
  fixed import
  backward compatibility import
  added mandatory dtatgrabber field
  removed doubled declaration
  fixed a typo
  backward compatibility import
  fix: more dict comprehension fixes
  fix: ordered dict
  fix: change dict comprehension to list comprehension for 2.6 compatibility
  doc: updated CHANGES to reflect new name generation mechanism
  enh: updated FLIRT to use new name generation mechanism to match with doc example
  doc: added information about new name generation mechanism
  Additionnal correction to FSL invwarp. Missing option from Camino dtifit
  fsl/utils.py: fix error from InvWarp generated filename
  fix: removed all mandatory=False
  fix: make sure mandatory=False items are displayed
  fix: added name_template to metadata keys
  ref: changing filename generation to a more consistent model
adapt to dcmstack 4d enhanced branch
fix: cleaned up file removal to pay attention to related files such as img/hdr/mat, BRIK/HEAD
Merge pull request #711 from satra/fix/remove_files

fix: cleaned up file removal to pay attention to related files
Merge branch 'master' into enh/dcmstack

* master: (95 commits)
  fix: cleaned up file removal to pay attention to related files such as img/hdr/mat, BRIK/HEAD
  fix: switch to allatonce mode to prevent forking (closes #705)
  fixed version checking
  sty: white spaces
  enh: added checkspecs to makefiel
  ref: removing unneeded tests
  ref: FILMGLS needs its own test because of api changes in FSL 5.0.5
  fix: update test generator to take manual edits into account
  tst: added autogenerated input and output spec tests
  enh: modified checkspecs to write output spec tests
  enh: modified checkspecs to write input spec tests
  sty: remove commented interface
  fix: remove deprecation warning.
  doc: include travis and coveralls badges
  sty: pep8 and metadata fixes
  enh: added coveralls support
  Allow ArtifactDetect to correctly handle AFNI motion correction parameters generated with -dfile or -1Dfile
  fix: updated doctest, pep8 and unit test
  doc: updated doctest to use literal string
  fix: display cmdline string explicitly
  ...
arbitrary dimensions wip
Updated google tracking.
Added link tracking.
fix: changed iri to current standard
Merge pull request #715 from satra/fix/iri

fix: changed iri to current standard
fix: cleaned prov
Merge pull request #716 from satra/cleanup/prov

fix: cleaned prov
fix: allow 4 parameters for antsRegistration transform
doc: added reference to BSplineSyn
Merge pull request #717 from satra/fix/antsbspline

Fix/antsbspline
fix refit
Merge pull request #718 from chrisfilo/fix/refit

fix refit
fixed outputs assignment
Merge pull request #720 from chrisfilo/fix/refit

fixed outputs assignment
not sure it fixes the bug, only happens when trimming