nidmresults as module, fixes following height threshold testing

This pull request introduces a few fixes following:
 1. the conversion of `nidmresults` into a separate module;
 2. testing performed at incf-nidash/nidm-results_fsl#30 on height threshold encoding (example 002 and 003).