added testthat harness
added permute and test cases
Version bump

1.0.5
- added permute
- cleaned namespace for p.value
Dropped useless export

p.value is already and S3Method, so no need for export in NAMESPACE