Change ddoc and db name to 'medic'. Issue: #529