install dependencies using devtools
closes #809: consider the special case of LyX

in the case of LyX, the dir of the input Rnw is in the LyX temp dir, and root.dir has been set to the dir of the .lyx file; all relative paths should be relative to root.dir
output might be NA as well; see inst/bin/knit
update bib
bump version