adds documetation to some internal functions. remove some useless code. some bugs
Merge branch 'master' of https://github.com/ropensci/pbdb