Reorganize scripts directory.
Prevent Couch Server State from making one unneeded GET request (#5386).
Fix class doc.
Prevent couch instantiation from creating the db (#5386).
Merge remote-tracking branch 'refs/remotes/drebs/feature/5386_improve-sync' into develop