added saveFormInstance to ResourceLocator
Merge remote-tracking branch 'origin/version3' into version3