roxygen2 support

A lot of noise, resulting from a one-time conversion using the `Rd2roxygen` package, mostly automatic. Hope it's useful to you. The documentation should not have changed by this, I have checked that to some extent. The library still works, too, despite the removed `exportPattern`.