[WIP] New feature: python-version of fslswapdim

Implements #246
Here you should use utils.check_niimg. That way you would also accept strings as input (and the docstring should be updated to reflect that).