Test replication of a compacted DB

Create test to ensure library can replicate a database that has been compacted and that has several missing revisions.
Merge pull request #32 from cloudant/23931_replicate_from_compacted_db

Test replication of a compacted DB