Zero permutations should be accepted

It should be possible to skip permutation by setting `permutations = 0`. Many functions were OK, but some failed.

I came across this because I wanted to analyse `adonis` with null models of `oecosimu`.