htmlDependency() instead of addResourcePath() which is more robust (#20)server_dir parameter. If the save is successful, input$shinyscreenshot holds the image path. Also added download parameter to specify whether to download the image to the app's user, and ns parameter to screenshotButton so that saving will work in modules. (#3)Initial release