[Task #2797]: plugin saves and edits queries in pentaho5