only require edit permissions if a change is required during datasource presave
fix to test appropriate permissions and updated error message
add test coverage (and a bit of error handling)
merged in changes from master
Merge pull request #173 from nschoenholtz/datasource-permissions-fix

only require edit permissions if a change is required during datasource presave