LIVEOAK-565: Perform checks on the target-path when updating a scripting resource.
LIVEOAK-715: Save the script metadata file on an update.
Merge pull request #419 from mwringe/LIVEOAK-565

LIVEOAK-565 & LIVEOAK-715