rename AppError to AppEditingError

in an attempt to more clearly delineate the responsibilities of that exception
have copy_form and rearrange_forms raise an exception instead of returning a coded string
abort copy_form if form source is blank
Merge pull request #2081 from dimagi/fix-copy-form

Abort copy_form if form source is blank