Update more things in the update editor to wc_db apis. This time the add_file() handling. Implement a few of the suggestions by gstein and also apply these same changes to the already converted add_directory().
Update more things in the update editor to wc_db apis. This time
the add_file() handling. Implement a few of the suggestions by
gstein and also apply these same changes to the already converted
add_directory().

* subversion/libsvn_wc/update_editor.c
  (IS_NODE_PRESENT): Add macro to simplify some checks.
  (add_directory):
     Use the db status instead of hidden checks. Handle not present
     directories that are in the local file system as unversioned.
     Remove depth check.

  (add_file): Check for conflicts before anything else. Check against
    administrative directory name. Use common switched and root check.
    Verify in-working copy state for missing files.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion