various code/packaging cleanup

added license=GPL (provisionally)
now passes R CMD check
be careful with roxygenize -> Collate ends up with some garbage
Merge pull request #1 from bbolker/master

various code/packaging cleanup