custom knit function for rstudio

This will allow you to render slidify decks using the Knit button in the new rstudio preview (note that the change that enables this will be in tomorrow's daily build -- i.e. any build >= v0.98.691)