export the R_PKG variable for XRAN
an R script to upload PDF's to Github releases automatically; closes #847
the reference card is on CRAN
replace bitbucket links with github release links
fixes #729: when dev=png, just use png to record plots

I should generalize this solution, but I do not have enough time to investigate which devices support plot recording, so just fix this png issue this time
bump version