several changes to resamples classes

`cluster.resamples` was added to the namespace.

An option to choose the`metric` was added to  `summary.resamples`.

`prcomp.resamples` now passed `…` to `prcomp`.  Also the call to
`prcomp` uses the formula method so that  `na.action` can be used.