Added additional provenance support to the script manager. Added a wrapper class for model statements supporting provenance queries. Fixed bug in ProvenanceQueryDialog.queryButtonActionHandler.

This commit will allow query support to be expanded, reduce the required code, and make the existing code more understandable. Provenance added in ScriptManager.runRemoteScript reflects the sftp upload operations, which connects the original input of the simulation to the collected output.