Replicator manager: do basic validation of replication documents
Replicator manager: do basic validation of replication documents

Now the default design document of the replicator database validates
each replication document added to the database so that necessary
fields must be present and have the right type, and optional replication
related fields have the correct type as well.

Closes COUCHDB-1088.



git-svn-id: c1f8a8ec0b3bb2e99ab3413722f81f687760e79c@1080953 13f79535-47bb-0310-9956-ffa450edef68

apache/couchdb-futon,apache/couchdb-futon