move compile notebook to main toolbar; allow specification of format in call to renderRmd