Making rcloud.shinyApp generic by allowing additional parameters

@gordonwoodhull I need this for passing additional functions inside rcw.result, which in turn will get registered as ocaps functions. Same I want to access in javascript layer by using window.notebook_result.<function_name>, a feature provided in mini.js. Let me know if there is any better way.