Significance testing using approximate randomisation and bootstrap resampling

TODO: unit tests