move publish dataverse rules from front to back end #3225

- can now publish dataverses via SWORD but should it be moved to the
  native API?
- also curl examples no longer require zero-length-file.txt #3332