Use `git subtree` to import re-used testing code from `nidm` repository

Following discussions at incf-nidash/nidm#124, this pull request implements the re-use of common testing code (and files) from the incf-nidash/nidm repository using `git subtree`.